]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/x86/mm/fault.c
x86/mm: Expand the exception table logic to allow new handling options
[karo-tx-linux.git] / arch / x86 / mm / fault.c
index eef44d9a3f77e2acc88baa424683388f67985e24..495946c3f9dda58149ab7e961a3e5d78fc2c29f0 100644 (file)
@@ -656,7 +656,7 @@ no_context(struct pt_regs *regs, unsigned long error_code,
        int sig;
 
        /* Are we prepared to handle this kernel fault? */
-       if (fixup_exception(regs)) {
+       if (fixup_exception(regs, X86_TRAP_PF)) {
                /*
                 * Any interrupt that takes a fault gets the fixup. This makes
                 * the below recursive fault logic only apply to a faults from