PERFORCE change 100250 for review

Kip Macy kmacy at FreeBSD.org
Thu Jun 29 03:06:08 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=100250

Change 100250 by kmacy at kmacy_storage:sun4v_work_stable on 2006/06/29 03:05:37

	KTR compile fix

Affected files ...

.. //depot/projects/kmacy_sun4v_stable/src/sys/sun4v/include/ktr.h#2 integrate

Differences ...

==== //depot/projects/kmacy_sun4v_stable/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) \


More information about the p4-projects mailing list