Minor fix for rdmsrl
PATCH 2/2 Minor fix for rdmsrl
Minor fix for rdmsrl
Signed-off-by Liu Jinsong <[email protected]>
xen/include/asm-x86/msr.h +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" \
Minor fix for rdmsrl
Signed-off-by Liu Jinsong <[email protected]>
xen/include/asm-x86/msr.h +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" \
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 4 lines
Quoted 1 line
Quoted 1 line · Jinsong
Minor fix for rdmsrl
Signed-off-by Liu Jinsong <[email protected]>
I applied this one, but could you clarify whether the stray semicolon caused any actual problem? I'm mainly asking to determine whether this needs backporting.
Jan
Quoted 11 lines
xen/include/asm-x86/msr.h +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" \
Quoted 10 lines · Jan Beulich
Quoted 4 lines
Quoted 2 lines
Quoted 2 lines
On 27.02.13 at 17:46, "Liu, Jinsong" <[email protected]>
wrote: Minor fix for rdmsrlSigned-off-by Liu Jinsong <[email protected]>I applied this one, but could you clarify whether the stray semicolon caused any actual problem? I'm mainly asking to determine whether this needs backporting.
Jan
No need backporting, just minor cleanup to drop unnecessary ';'
Thanks,
Jinsong
Quoted 11 lines
Quoted 11 lines
xen/include/asm-x86/msr.h +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" \