PERFORCE change 213933 for review

John Baldwin jhb at FreeBSD.org
Thu Jul 5 11:45:12 UTC 2012


http://p4web.freebsd.org/@@213933?ac=10

Change 213933 by jhb at jhb_jhbbsd on 2012/07/05 11:44:43

	Use high rather than hi to be consistent with the rest of this
	file.

Affected files ...

.. //depot/projects/smpng/sys/amd64/include/cpufunc.h#26 edit

Differences ...

==== //depot/projects/smpng/sys/amd64/include/cpufunc.h#26 (text+ko) ====

@@ -423,11 +423,11 @@
 static __inline void
 load_xcr(u_int reg, u_long val)
 {
-	u_int low, hi;
+	u_int low, high;
 
 	low = val;
-	hi = val >> 32;
-	__asm __volatile("xsetbv" : : "c" (reg), "a" (low), "d" (hi));
+	high = val >> 32;
+	__asm __volatile("xsetbv" : : "c" (reg), "a" (low), "d" (high));
 }
 
 /*


More information about the p4-projects mailing list