[ARM] 4661/1: fix do_undefinstr wrt the enabling of IRQs
authorNicolas Pitre <nico@cam.org>
Thu, 22 Nov 2007 16:21:27 +0000 (17:21 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 26 Nov 2007 19:43:42 +0000 (19:43 +0000)
commitaeb747afb3fb1f42d9c82615a103882f7f97f291
treebf62b609f033b9293f78a3a0595ac3fdfcd54ae1
parentdc49cb21801db1f89d74b01a0f38f200aebb3e43
[ARM] 4661/1: fix do_undefinstr wrt the enabling of IRQs

The lock is acquired with spin_lock_irqsave() and released in the
not-found case with spin_unlock_irqrestore().

Signed-off-by: Nicolas Pitre <nico@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/kernel/traps.c