[ARM] call undefined instruction exception handler with irqs enabled
Aaro says: > With spinlock debugs enabled I get might_sleep() warnings when using > ptrace. tracked down to a missing enable_irq before calling do_undefinstr(). Reported-by: Aaro Koskinen <aaro.koskinen@nokia.com> Tested-by: Aaro Koskinen <aaro.koskinen@nokia.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
parent
9ce8bb55e3
commit
ecbab71c52
1 changed files with 1 additions and 0 deletions
|
@ -650,6 +650,7 @@ ENTRY(fp_enter)
|
|||
no_fp: mov pc, lr
|
||||
|
||||
__und_usr_unknown:
|
||||
enable_irq
|
||||
mov r0, sp
|
||||
adr lr, ret_from_exception
|
||||
b do_undefinstr
|
||||
|
|
Loading…
Reference in a new issue