diff options
Diffstat (limited to 'arch/m68k')
-rw-r--r-- | arch/m68k/mm/fault.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/m68k/mm/fault.c b/arch/m68k/mm/fault.c index 911f2ce3f53e..2adbeb16e1b8 100644 --- a/arch/m68k/mm/fault.c +++ b/arch/m68k/mm/fault.c | |||
@@ -99,7 +99,7 @@ int do_page_fault(struct pt_regs *regs, unsigned long address, | |||
99 | * If we're in an interrupt or have no user | 99 | * If we're in an interrupt or have no user |
100 | * context, we must not take the fault.. | 100 | * context, we must not take the fault.. |
101 | */ | 101 | */ |
102 | if (in_interrupt() || !mm) | 102 | if (in_atomic() || !mm) |
103 | goto no_context; | 103 | goto no_context; |
104 | 104 | ||
105 | down_read(&mm->mmap_sem); | 105 | down_read(&mm->mmap_sem); |