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)
commit06d8eccdf94eba0ff2b005c9062e53d25d113e9a
tree1acdf16a1995e5d16c15e924d8d2c7f62f8d7194
parentd608fa80c60157ea7be7ced84a489c92b6733207
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