parisc: Additionally check for in_atomic() in page fault handler
authorHelge Deller <deller@gmx.de>
Wed, 2 Sep 2015 16:18:48 +0000 (18:18 +0200)
committerHelge Deller <deller@gmx.de>
Tue, 8 Sep 2015 13:30:56 +0000 (15:30 +0200)
commit699817c3df46eb209044d8c9eb20c6ff6c67c81d
tree74d6221711893ca86b50ae5f03904efe0868b4e5
parente02a653e15d8d32e9e768fd99a3271aafe5c5d77
parisc: Additionally check for in_atomic() in page fault handler

Craig Estey noticed that we didn't checked for in_atomic() in our page fault
handler like other architectures. This commit adds this check by using
faulthandler_disabled() which includes a check for pagefault_disabled() and
in_atomic().

Reported-by: Craig Estey <cae370@gmail.com>
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/mm/fault.c