]> xenbits.xensource.com Git - xen.git/commitdiff
x86: minor fix for rdmsrl
authorLiu Jinsong <jinsong.liu@intel.com>
Thu, 28 Feb 2013 08:22:41 +0000 (09:22 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 28 Feb 2013 08:22:41 +0000 (09:22 +0100)
Signed-off-by: Liu Jinsong <jinsong.liu@intel.com>
xen/include/asm-x86/msr.h

index bc2c0befaa9fc6850312f2f895b3090bd44a34e6..06c46a8bd2c835bbefa87114d8730c3103c110b9 100644 (file)
@@ -20,7 +20,7 @@
                            : "=a" (a__), "=d" (b__) \
                            : "c" (msr)); \
        val = a__ | ((u64)b__<<32); \
-} while(0);
+} while(0)
 
 #define wrmsr(msr,val1,val2) \
      __asm__ __volatile__("wrmsr" \