From: Russell King Date: Fri, 3 Jan 2014 15:01:39 +0000 (+0000) Subject: ARM: fix "bad mode in ... handler" message for undefined instructions X-Git-Tag: v3.13~12^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=29c350bf28da333e41e30497b649fe335712a2ab;p=profile%2Fivi%2Fkernel-x86-ivi.git 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: Signed-off-by: Russell King --- diff --git a/arch/arm/kernel/traps.c b/arch/arm/kernel/traps.c index 7940241..6eda3bf 100644 --- a/arch/arm/kernel/traps.c +++ b/arch/arm/kernel/traps.c @@ -36,7 +36,13 @@ #include #include -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;