]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/mn10300/mm/fault.c
MN10300: Change the fault handler to check in_atomic() not in_interrupt()
[linux-2.6-omap-h63xx.git] / arch / mn10300 / mm / fault.c
index 78f092ca031626d5e22c2514ad225ce38e2530e1..33cf25025dac22f86dad42a8ebf8cef489db8779 100644 (file)
@@ -174,7 +174,7 @@ asmlinkage void do_page_fault(struct pt_regs *regs, unsigned long fault_code,
         * 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);