summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/hardware
diff options
context:
space:
mode:
authorRussell King <rmk@dyn-67.arm.linux.org.uk>2007-01-09 13:57:37 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-02-06 17:46:48 +0100
commitae0a846e411dc0b568e8ccda584896310ee5f369 (patch)
tree59d97342cdb29b61cc0da3cf1ebf0498ca799d14 /include/asm-arm/hardware
parent[ARM] 4047/1: Add initial board support for Contec Hypercontrol Micro9 boards. (diff)
downloadlinux-ae0a846e411dc0b568e8ccda584896310ee5f369.tar.xz
linux-ae0a846e411dc0b568e8ccda584896310ee5f369.zip
[ARM] Move processor_modes[] to .../process.c
bad_mode() currently prints the mode which caused the exception, and then causes an oops dump to be printed which again displays this information (since the CPSR in the struct pt_regs is correct.) This leads to processor_modes[] being shared between traps.c and process.c with a local declaration of it. We can clean this up by moving processor_modes[] to process.c and removing the duplication, resulting in processor_modes[] becoming static. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/hardware')
0 files changed, 0 insertions, 0 deletions