Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jun 2006 07:09:48 GMT
From:      Kip Macy <kmacy@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 99725 for review
Message-ID:  <200606210709.k5L79mtE034310@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=99725

Change 99725 by kmacy@kmacy_storage:sun4v_work on 2006/06/21 07:08:57

	fix KTR compile by undoing sparc64 specific define

Affected files ...

.. //depot/projects/kmacy_sun4v/src/sys/sun4v/include/ktr.h#2 edit

Differences ...

==== //depot/projects/kmacy_sun4v/src/sys/sun4v/include/ktr.h#2 (text+ko) ====

@@ -38,8 +38,8 @@
 
 #ifndef LOCORE
 
-#define	KTR_CPU	UPA_CR_GET_MID(ldxa(0, ASI_UPA_CONFIG_REG))
-
+#define	KTR_CPU	PCPU_GET(cpuid)
+	
 #else
 
 #define	AND(var, mask, r1, r2) \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606210709.k5L79mtE034310>