Skip to contentSkip to conversation

vmx_io signness gcc4 fix

PATCH Jerone Young 1 participant 1 message Jun 24, 2005 x86

lore
Share & tools
lore
#0 lore raw

Fixes sign issue with gcc4.

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)