]> pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[ARM] call undefined instruction exception handler with irqs enabled
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Tue, 27 Jan 2009 23:20:00 +0000 (23:20 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 28 Jan 2009 10:19:53 +0000 (10:19 +0000)
commitecbab71c521819716e204659dfe72fc39d00630a
tree82b8913f99c4a019ac9f2e0271f323b28f6bcca4
parent9ce8bb55e32d11bb82e19e76bdd2cf1c2ed32fd1
[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>
arch/arm/kernel/entry-armv.S