]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/m68k/mm/fault.c
[PATCH] mm: arch do_page_fault() vs in_atomic()
[linux-2.6-omap-h63xx.git] / arch / m68k / mm / fault.c
index 911f2ce3f53e11ec6d1e0deeba875735d5c2a13b..2adbeb16e1b8aba1bc98e148121d9dc0d9b207c2 100644 (file)
@@ -99,7 +99,7 @@ int do_page_fault(struct pt_regs *regs, unsigned long address,
         * If we're in an interrupt or have no user
         * context, we must not take the fault..
         */
-       if (in_interrupt() || !mm)
+       if (in_atomic() || !mm)
                goto no_context;
 
        down_read(&mm->mmap_sem);