diff options
Diffstat (limited to 'arch/arm/mm/fault.c')
-rw-r--r-- | arch/arm/mm/fault.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mm/fault.c b/arch/arm/mm/fault.c index 6333d9c17875..0d629b8f973f 100644 --- a/arch/arm/mm/fault.c +++ b/arch/arm/mm/fault.c | |||
@@ -276,7 +276,7 @@ do_page_fault(unsigned long addr, unsigned int fsr, struct pt_regs *regs) | |||
276 | * If we're in an interrupt or have no user | 276 | * If we're in an interrupt or have no user |
277 | * context, we must not take the fault.. | 277 | * context, we must not take the fault.. |
278 | */ | 278 | */ |
279 | if (in_atomic() || !mm) | 279 | if (faulthandler_disabled() || !mm) |
280 | goto no_context; | 280 | goto no_context; |
281 | 281 | ||
282 | if (user_mode(regs)) | 282 | if (user_mode(regs)) |