target-cris/opcode-cris.h: rename REG_PC/SP to CRIS_REG_PC/SP
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 19 Aug 2011 23:27:04 +0000 (00:27 +0100)
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>
Fri, 19 Aug 2011 23:41:01 +0000 (01:41 +0200)
commit871708bf39fd19e56680af61d5db665986bae036
tree1acdf16a1995e5d16c15e924d8d2c7f62f8d7194
parent8b2a04eeb95212305d3a39170e1c4bc3dbe45e8a
target-cris/opcode-cris.h: rename REG_PC/SP to CRIS_REG_PC/SP

The REG_PC constant used in opcode-cris.h can clash with a
similar define in system include files. In particular the
Ubuntu Lucid SPARC signal.h will define REG_PC, and since
qemu-common.h now includes signal.h this was causing compile
failures. Rename the constants to avoid this issue.
(NB that REG_SP is not actually used within QEMU.)

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
target-cris/opcode-cris.h