aboutsummaryrefslogtreecommitdiff
path: root/linux-user/arm/nwfpe/fpa11.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2011-04-20 11:19:15 +0100
committerAurelien Jarno <aurelien@aurel32.net>2011-04-25 22:15:31 +0200
commit7cb4db8f41d20d2c9d9c9a6830a362eebaeb42ed (patch)
tree28ac56387a478defc329efea404ea64dd6da160e /linux-user/arm/nwfpe/fpa11.c
parentf2dd89d0c7e5d39237f43392ccaed79bda47a71e (diff)
downloadqemu-7cb4db8f41d20d2c9d9c9a6830a362eebaeb42ed.zip
qemu-7cb4db8f41d20d2c9d9c9a6830a362eebaeb42ed.tar.gz
qemu-7cb4db8f41d20d2c9d9c9a6830a362eebaeb42ed.tar.bz2
linux-user/arm/nwfpe: rename REG_PC to ARM_REG_PC
The REG_PC constant used in the ARM nwfpe code is fine in the kernel but when used in qemu can clash with a definition in the host system include files (in particular on Ubuntu Lucid SPARC, including signal.h will define a REG_PC). Rename the constant to avoid this issue. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'linux-user/arm/nwfpe/fpa11.c')
-rw-r--r--linux-user/arm/nwfpe/fpa11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/arm/nwfpe/fpa11.c b/linux-user/arm/nwfpe/fpa11.c
index 0a87c43..eebd93f 100644
--- a/linux-user/arm/nwfpe/fpa11.c
+++ b/linux-user/arm/nwfpe/fpa11.c
@@ -144,7 +144,7 @@ unsigned int EmulateAll(unsigned int opcode, FPA11* qfpa, CPUARMState* qregs)
#if 0
fprintf(stderr,"emulating FP insn 0x%08x, PC=0x%08x\n",
- opcode, qregs[REG_PC]);
+ opcode, qregs[ARM_REG_PC]);
#endif
fpa11 = GET_FPA11();