]> rtime.felk.cvut.cz Git - zynq/linux.git/blobdiff - arch/arm64/mm/fault.c
Merge branch '4.0.8-rt6'
[zynq/linux.git] / arch / arm64 / mm / fault.c
index 3f5743b5d61e9b91db0a0216dc7fad35a2c52f47..992e02a92788eadc06ee1b5075ca0367fe193f28 100644 (file)
@@ -211,7 +211,7 @@ static int __kprobes do_page_fault(unsigned long addr, unsigned int esr,
         * If we're in an interrupt or have no user context, we must not take
         * the fault.
         */
-       if (in_atomic() || !mm)
+       if (faulthandler_disabled() || !mm)
                goto no_context;
 
        if (user_mode(regs))