summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2014-01-03 16:01:39 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2014-01-05 15:00:00 +0100
commit29c350bf28da333e41e30497b649fe335712a2ab (patch)
tree7fbbf59812da834d5563cb54f6616503e6881f12 /arch
parentCRYPTO: Fix more AES build errors (diff)
downloadlinux-29c350bf28da333e41e30497b649fe335712a2ab.tar.xz
linux-29c350bf28da333e41e30497b649fe335712a2ab.zip
ARM: fix "bad mode in ... handler" message for undefined instructions
The array was missing the final entry for the undefined instruction exception handler; this commit adds it. Cc: <stable@vger.kernel.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/kernel/traps.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/arm/kernel/traps.c b/arch/arm/kernel/traps.c
index 7940241f0576..6eda3bf85c52 100644
--- a/arch/arm/kernel/traps.c
+++ b/arch/arm/kernel/traps.c
@@ -36,7 +36,13 @@
#include <asm/system_misc.h>
#include <asm/opcodes.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;