ARM: fix "bad mode in ... handler" message for undefined instructions
authorRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 3 Jan 2014 15:01:39 +0000 (15:01 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 5 Jan 2014 14:00:00 +0000 (14:00 +0000)
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>
arch/arm/kernel/traps.c

index 7940241..6eda3bf 100644 (file)
 #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;