From: Jerone Young <jyoung5@us.ibm.com>
To: xen-devel <xen-devel@lists.xensource.com>
Subject: vmx_io signness gcc4 fix
Date: Fri, 24 Jun 2005 14:58:28 -0500 [thread overview]
Message-ID: <1119643108.2747.2.camel@thinkpad> (raw)
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)
reply other threads:[~2005-06-24 19:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1119643108.2747.2.camel@thinkpad \
--to=jyoung5@us.ibm.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.