summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-19 17:20:01 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-05-19 17:20:01 +0000
commit05a099da4fb1390ed3ceecca128345ee35c0a6de (patch)
treeeb08d1ab0d7f3e8efdb77d9af4355b356a9ed1ef
parent24e642fc9d59191e1ddb7dbca40df58998e674ab (diff)
downloadqemu-05a099da4fb1390ed3ceecca128345ee35c0a6de.tar.gz
qemu-05a099da4fb1390ed3ceecca128345ee35c0a6de.tar.bz2
qemu-05a099da4fb1390ed3ceecca128345ee35c0a6de.zip
Fix Sparc32 compilation broken by r4484
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4499 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--cpu-exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu-exec.c b/cpu-exec.c
index fe309c78d9..65af9a6d87 100644
--- a/cpu-exec.c
+++ b/cpu-exec.c
@@ -1299,7 +1299,7 @@ int cpu_signal_handler(int host_signum, void *pinfo,
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 ? */