> -fastcall void do_page_fault(struct pt_regs *regs, unsigned long error_code) > +fastcall void __kprobes do_page_fault(struct pt_regs *regs, > + unsigned long error_code) That's not enough. You would need to change entry.S too. Same on x86-64. And how about general protection fault? -Andi