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:28:51 -0800 |
commit | 167ce5e7b14e282c645ed8b78971420958cd5665 (patch) | |
tree | fe2fd9329ad913df7e89a6ddfd5550b0b28f6d51 /arch | |
parent | 4adf2b4bd303e73dfc13c3428383a8dba129fdb5 (diff) | |
download | linux-stable-167ce5e7b14e282c645ed8b78971420958cd5665.tar.gz linux-stable-167ce5e7b14e282c645ed8b78971420958cd5665.tar.bz2 linux-stable-167ce5e7b14e282c645ed8b78971420958cd5665.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>
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 @@ #include <asm/tls.h> #include <asm/system_misc.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; |