Skip to contentSkip to conversation

[4499] Fix Sparc32 compilation broken by r4484

Qemu-devel Blue Swirl 1 participant 1 message May 19, 2008

lore
Share & tools
lore

Blue Swirl

author
#0 lore raw

Revision: 4499

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4499
Author:   blueswir1
Date:     2008-05-19 17:20:01 +0000 (Mon, 19 May 2008)

Log Message:
-----------
Fix Sparc32 compilation broken by r4484

Modified Paths:
--------------
trunk/cpu-exec.c

Modified: trunk/cpu-exec.c
===================================================================

cpu-exec.c +1 -1
@@ -1299,7 +1299,7 @@
     siginfo_t *info = pinfo;
     int is_write;
     uint32_t insn;
-#if !defined(__sparc_v9__) || defined(HOST_SOLARIS)
+#if !defined(__arch64__) || defined(HOST_SOLARIS)
     uint32_t *regs = (uint32_t *)(info + 1);
     void *sigmask = (regs + 20);
     /* XXX: is there a standard glibc define ? */