diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2014-01-03 15:01:39 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-01-15 15:27:11 -0800 |
commit | 10252aa2278e1d53c420bacdf9ee239784712541 (patch) | |
tree | 0d702411e34a46158f7ed051120c4177b4088dfc | |
parent | 09e333b064c0f570051ec055d0098c6b6ce00850 (diff) | |
download | lwn-10252aa2278e1d53c420bacdf9ee239784712541.tar.gz lwn-10252aa2278e1d53c420bacdf9ee239784712541.zip |
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>
-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 a53a5a3c3c2e..f01ad2992a20 100644 --- a/arch/arm/kernel/traps.c +++ b/arch/arm/kernel/traps.c @@ -37,7 +37,13 @@ #include "signal.h" -static const char *handler[]= { "prefetch abort", "data abort", "address exception", "interrupt" }; +static const char *handler[]= { + "prefetch abort", + "data abort", + "address exception", + "interrupt", + "undefined instruction", +}; void *vectors_page; |