mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
x86: minor fix for rdmsrl
Signed-off-by: Liu Jinsong <jinsong.liu@intel.com>
This commit is contained in:
1 parent
6c7bb5a198
commit
ba9ef87997
1 file changed
+1
-1
@@ -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" \
|
||||
|
||||