From d28a170d5b67248d690df68d46491ee2cf6f4f6d Mon Sep 17 00:00:00 2001 From: Nicolas Pitre Date: Fri, 23 Nov 2007 22:38:54 +0100 Subject: [PATCH] [ARM] 4665/1: fix __und_usr wrt accessing the undefined insn in user space The ldrt fixup code expects r9 to be set. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King --- arch/arm/kernel/entry-armv.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/kernel/entry-armv.S b/arch/arm/kernel/entry-armv.S index 0d1bbea84df0..29dec080a604 100644 --- a/arch/arm/kernel/entry-armv.S +++ b/arch/arm/kernel/entry-armv.S @@ -453,9 +453,9 @@ __und_usr: @ @ r0 - instruction @ -1: ldrt r0, [r4] adr r9, ret_from_exception adr lr, __und_usr_unknown +1: ldrt r0, [r4] @ @ fallthrough to call_fpe @ -- GitLab