aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ia64/mm/fault.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ia64/mm/fault.c')
-rw-r--r--arch/ia64/mm/fault.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/ia64/mm/fault.c b/arch/ia64/mm/fault.c
index ba5ba7accd0d..70b40d1205a6 100644
--- a/arch/ia64/mm/fault.c
+++ b/arch/ia64/mm/fault.c
@@ -11,10 +11,10 @@
11#include <linux/kprobes.h> 11#include <linux/kprobes.h>
12#include <linux/kdebug.h> 12#include <linux/kdebug.h>
13#include <linux/prefetch.h> 13#include <linux/prefetch.h>
14#include <linux/uaccess.h>
14 15
15#include <asm/pgtable.h> 16#include <asm/pgtable.h>
16#include <asm/processor.h> 17#include <asm/processor.h>
17#include <asm/uaccess.h>
18 18
19extern int die(char *, struct pt_regs *, long); 19extern int die(char *, struct pt_regs *, long);
20 20
@@ -96,7 +96,7 @@ ia64_do_page_fault (unsigned long address, unsigned long isr, struct pt_regs *re
96 /* 96 /*
97 * If we're in an interrupt or have no user context, we must not take the fault.. 97 * If we're in an interrupt or have no user context, we must not take the fault..
98 */ 98 */
99 if (in_atomic() || !mm) 99 if (faulthandler_disabled() || !mm)
100 goto no_context; 100 goto no_context;
101 101
102#ifdef CONFIG_VIRTUAL_MEM_MAP 102#ifdef CONFIG_VIRTUAL_MEM_MAP