Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jul 2012 11:45:09 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 213933 for review
Message-ID:  <201207051145.q65Bj9TQ073545@skunkworks.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@213933?ac=10

Change 213933 by jhb@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));
 }
 
 /*



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