summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/signal.c')
-rw-r--r--linux-user/signal.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/linux-user/signal.c b/linux-user/signal.c
index 93c2ebe1e..b2c0623a4 100644
--- a/linux-user/signal.c
+++ b/linux-user/signal.c
@@ -584,8 +584,8 @@ int do_sigaction(int sig, const struct target_sigaction *act,
return -EINVAL;
k = &sigact_table[sig - 1];
#if defined(DEBUG_SIGNAL)
- fprintf(stderr, "sigaction sig=%d act=0x%08x, oact=0x%08x\n",
- sig, (int)act, (int)oact);
+ fprintf(stderr, "sigaction sig=%d act=0x%p, oact=0x%p\n",
+ sig, act, oact);
#endif
if (oact) {
oact->_sa_handler = tswapl(k->_sa_handler);
@@ -3533,12 +3533,12 @@ struct target_mcontext {
varies depending on whether we're PPC64 or not: PPC64 splits
them apart; PPC32 stuffs them together. */
#if defined(TARGET_PPC64)
-#define NVRREG 34
+#define QEMU_NVRREG 34
#else
-#define NVRREG 33
+#define QEMU_NVRREG 33
#endif
- ppc_avr_t altivec[NVRREG];
-#undef NVRREG
+ ppc_avr_t altivec[QEMU_NVRREG];
+#undef QEMU_NVRREG
} mc_vregs __attribute__((__aligned__(16)));
};