Russell King ae0a846e41 [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>
2007-02-06 16:46:48 +00:00
..
2005-10-30 17:37:32 -08:00
2006-12-17 18:23:31 +00:00
2006-03-27 14:58:25 +01:00
2005-04-16 15:20:36 -07:00
2006-12-18 00:14:54 +00:00
2006-11-26 16:39:00 +00:00
2006-12-17 18:23:31 +00:00