]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/sh64/mm/fault.c
[PATCH] mm: arch do_page_fault() vs in_atomic()
[linux-2.6-omap-h63xx.git] / arch / sh64 / mm / fault.c
index 8e2f6c28b7390fc712a8d07f8e8e567fbd7b6853..4f72ab33bb2b0a7cb9caae2b09a135f96c8a6ed9 100644 (file)
@@ -154,7 +154,7 @@ asmlinkage void do_page_fault(struct pt_regs *regs, unsigned long writeaccess,
         * 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;
 
        /* TLB misses upon some cache flushes get done under cli() */