diff options
Diffstat (limited to 'arch/arm26')
-rw-r--r-- | arch/arm26/mm/fault.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm26/mm/fault.c b/arch/arm26/mm/fault.c index a1f6d8a9cc32..93c0cee0fb5e 100644 --- a/arch/arm26/mm/fault.c +++ b/arch/arm26/mm/fault.c | |||
@@ -215,7 +215,7 @@ int do_page_fault(unsigned long addr, unsigned int fsr, struct pt_regs *regs) | |||
215 | * If we're in an interrupt or have no user | 215 | * If we're in an interrupt or have no user |
216 | * context, we must not take the fault.. | 216 | * context, we must not take the fault.. |
217 | */ | 217 | */ |
218 | if (in_interrupt() || !mm) | 218 | if (in_atomic() || !mm) |
219 | goto no_context; | 219 | goto no_context; |
220 | 220 | ||
221 | down_read(&mm->mmap_sem); | 221 | down_read(&mm->mmap_sem); |