Commit 6b4c11cd8ee746c2da2de7c1b77cb932c93e5463
1 parent
c44f945a
Fix Sparc32 compilation broken by r4484
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4499 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
1 additions
and
1 deletions
cpu-exec.c
@@ -1299,7 +1299,7 @@ int cpu_signal_handler(int host_signum, void *pinfo, | @@ -1299,7 +1299,7 @@ int cpu_signal_handler(int host_signum, void *pinfo, | ||
1299 | siginfo_t *info = pinfo; | 1299 | siginfo_t *info = pinfo; |
1300 | int is_write; | 1300 | int is_write; |
1301 | uint32_t insn; | 1301 | uint32_t insn; |
1302 | -#if !defined(__sparc_v9__) || defined(HOST_SOLARIS) | 1302 | +#if !defined(__arch64__) || defined(HOST_SOLARIS) |
1303 | uint32_t *regs = (uint32_t *)(info + 1); | 1303 | uint32_t *regs = (uint32_t *)(info + 1); |
1304 | void *sigmask = (regs + 20); | 1304 | void *sigmask = (regs + 20); |
1305 | /* XXX: is there a standard glibc define ? */ | 1305 | /* XXX: is there a standard glibc define ? */ |