aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arc/mm/fault.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arc/mm/fault.c')
-rw-r--r--arch/arc/mm/fault.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arc/mm/fault.c b/arch/arc/mm/fault.c
index 6a2e006cbcce..d948e4e9d89c 100644
--- a/arch/arc/mm/fault.c
+++ b/arch/arc/mm/fault.c
@@ -86,7 +86,7 @@ void do_page_fault(unsigned long address, struct pt_regs *regs)
86 * If we're in an interrupt or have no user 86 * If we're in an interrupt or have no user
87 * context, we must not take the fault.. 87 * context, we must not take the fault..
88 */ 88 */
89 if (in_atomic() || !mm) 89 if (faulthandler_disabled() || !mm)
90 goto no_context; 90 goto no_context;
91 91
92 if (user_mode(regs)) 92 if (user_mode(regs))