* vmx_io signness gcc4 fix
@ 2005-06-24 19:58 Jerone Young
0 siblings, 0 replies; only message in thread
From: Jerone Young @ 2005-06-24 19:58 UTC (permalink / raw)
To: xen-devel
Fixes sign issue with gcc4.
Signed-off-by: Jerone Young <jyoung5@us.ibm.com>
--- xen/arch/x86/vmx_io.c.old 2005-06-24 14:40:00.000000000 -0500
+++ xen/arch/x86/vmx_io.c 2005-06-24 14:41:54.000000000 -0500
@@ -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:
--
Jerone Young
IBM Linux Technology Center
jyoung5@us.ibm.com
512-838-1157 (T/L: 678-1157)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-06-24 19:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-24 19:58 vmx_io signness gcc4 fix Jerone Young
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.