]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/x86/kernel/kprobes/core.c
x86/mm: Expand the exception table logic to allow new handling options
[karo-tx-linux.git] / arch / x86 / kernel / kprobes / core.c
index 1deffe6cc87367631fe23b4c5d4b6be697ff4b0e..0f05deeff5ce2e2af5aa7fb1f2fe1f59f4ed8348 100644 (file)
@@ -988,7 +988,7 @@ int kprobe_fault_handler(struct pt_regs *regs, int trapnr)
                 * In case the user-specified fault handler returned
                 * zero, try to fix up.
                 */
-               if (fixup_exception(regs))
+               if (fixup_exception(regs, trapnr))
                        return 1;
 
                /*