vmx_io signness gcc4 fix
Fixes sign issue with gcc4.
Signed-off-by Jerone Young <[email protected]>
arch/x86/vmx_io.c 2005-06-24 14:41:54.000000000 -0500 renamed from arch/x86/vmx_io.c.old 2005-06-24 14:40:00.000000000 -0500 +1 -1
@@ -181,7 +181,7 @@ static void load_cpu_user_regs(struct cp __vmwrite(GUEST_RIP, regs->rip); } -static inline void __set_reg_value(long *reg, int size, long value) +static inline void __set_reg_value(unsigned long *reg, int size, long
value)
{
switch (size) {
case BYTE_64:Signature · 4 lines
Jerone Young IBM Linux Technology Center [email protected] 512-838-1157 (T/L: 678-1157)