WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-4.0-testing] x86_emulate: Fix build with some versi

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-4.0-testing] x86_emulate: Fix build with some versions of gcc targeting i386.
From: "Xen patchbot-4.0-testing" <patchbot-4.0-testing@xxxxxxxxxxxxxxxxxxx>
Date: Sun, 31 Oct 2010 16:55:10 -0700
Delivery-date: Sun, 31 Oct 2010 16:55:19 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir@xxxxxxx>
# Date 1288551733 0
# Node ID 1225153044b77f09ba9b1244d68d7dc7f830b13c
# Parent  571ae621125e5bf073a6dcfc73f433087e0a1972
x86_emulate: Fix build with some versions of gcc targeting i386.

Signed-off-by: Keir Fraser <keir@xxxxxxx>
xen-unstable changeset:   22341:b6c553f62ede
xen-unstable date:        Sun Oct 31 19:01:33 2010 +0000
---
 xen/arch/x86/x86_emulate/x86_emulate.c |    2 ++
 1 files changed, 2 insertions(+)

diff -r 571ae621125e -r 1225153044b7 xen/arch/x86/x86_emulate/x86_emulate.c
--- a/xen/arch/x86/x86_emulate/x86_emulate.c    Fri Oct 29 18:46:25 2010 +0100
+++ b/xen/arch/x86/x86_emulate/x86_emulate.c    Sun Oct 31 19:02:13 2010 +0000
@@ -2101,9 +2101,11 @@ x86_emulate(
         case 4:
             _regs.edx = (uint32_t)(((int32_t)_regs.eax < 0) ? -1 : 0);
             break;
+#ifdef __x86_64__ /* compile warning with some versions of 32-bit gcc */
         case 8:
             _regs.edx = ((int64_t)_regs.eax < 0) ? -1 : 0;
             break;
+#endif
         }
         break;
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-4.0-testing] x86_emulate: Fix build with some versions of gcc targeting i386., Xen patchbot-4.0-testing <=