mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
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>
This commit is contained in:
parent
f2dd89d0c7
commit
7cb4db8f41
3 changed files with 6 additions and 6 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue