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-Url: https://git.stricted.de/?a=commitdiff_plain;h=29c350bf28da333e41e30497b649fe335712a2ab;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.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 7940241f0576..6eda3bf85c52 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;