diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-01-03 10:01:39 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-01-15 18:28:51 -0500 |
commit | 167ce5e7b14e282c645ed8b78971420958cd5665 (patch) | |
tree | fe2fd9329ad913df7e89a6ddfd5550b0b28f6d51 /arch | |
parent | 4adf2b4bd303e73dfc13c3428383a8dba129fdb5 (diff) |
ARM: fix "bad mode in ... handler" message for undefined instructions
commit 29c350bf28da333e41e30497b649fe335712a2ab upstream.
The array was missing the final entry for the undefined instruction
exception handler; this commit adds it.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/kernel/traps.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/arm/kernel/traps.c b/arch/arm/kernel/traps.c index 6b9567e19bdc..d6a0fdb6c2ee 100644 --- a/arch/arm/kernel/traps.c +++ b/arch/arm/kernel/traps.c | |||
@@ -35,7 +35,13 @@ | |||
35 | #include <asm/tls.h> | 35 | #include <asm/tls.h> |
36 | #include <asm/system_misc.h> | 36 | #include <asm/system_misc.h> |
37 | 37 | ||
38 | static const char *handler[]= { "prefetch abort", "data abort", "address exception", "interrupt" }; | 38 | static const char *handler[]= { |
39 | "prefetch abort", | ||
40 | "data abort", | ||
41 | "address exception", | ||
42 | "interrupt", | ||
43 | "undefined instruction", | ||
44 | }; | ||
39 | 45 | ||
40 | void *vectors_page; | 46 | void *vectors_page; |
41 | 47 | ||