[ARM] Prevent deadlock in page fault handler
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Tue, 20 Sep 2005 16:52:13 +0000 (17:52 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 20 Sep 2005 16:52:13 +0000 (17:52 +0100)
commit840ff6a4f6174d7fe19c206b5f36ff64123a2f45
tree1b66816135fad5a97d5ea0862b95341278f4227f
parent5fe10ab19046d84f3fd243436cbd5fa01019e809
[ARM] Prevent deadlock in page fault handler

As per x86, we may deadlock while trying to get the mmap semaphore.
Implement the same fix, which allows (eg) recursive faults to cause
an oops instead of deadlocking.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/fault.c