aboutsummaryrefslogtreecommitdiffstats
path: root/arch/alpha/mm/fault.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/alpha/mm/fault.c')
-rw-r--r--arch/alpha/mm/fault.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/arch/alpha/mm/fault.c b/arch/alpha/mm/fault.c
index 9d0ac091a52a..4a905bd667e2 100644
--- a/arch/alpha/mm/fault.c
+++ b/arch/alpha/mm/fault.c
@@ -23,8 +23,7 @@
23#include <linux/smp.h> 23#include <linux/smp.h>
24#include <linux/interrupt.h> 24#include <linux/interrupt.h>
25#include <linux/module.h> 25#include <linux/module.h>
26 26#include <linux/uaccess.h>
27#include <asm/uaccess.h>
28 27
29extern void die_if_kernel(char *,struct pt_regs *,long, unsigned long *); 28extern void die_if_kernel(char *,struct pt_regs *,long, unsigned long *);
30 29
@@ -107,7 +106,7 @@ do_page_fault(unsigned long address, unsigned long mmcsr,
107 106
108 /* If we're in an interrupt context, or have no user context, 107 /* If we're in an interrupt context, or have no user context,
109 we must not take the fault. */ 108 we must not take the fault. */
110 if (!mm || in_atomic()) 109 if (!mm || faulthandler_disabled())
111 goto no_context; 110 goto no_context;
112 111
113#ifdef CONFIG_ALPHA_LARGE_VMALLOC 112#ifdef CONFIG_ALPHA_LARGE_VMALLOC