Loading arch/x86/mm/fault_64.c +1 −4 Original line number Diff line number Diff line Loading @@ -298,7 +298,6 @@ asmlinkage void __kprobes do_page_fault(struct pt_regs *regs, struct mm_struct *mm; struct vm_area_struct * vma; unsigned long address; const struct exception_table_entry *fixup; int write, fault; unsigned long flags; siginfo_t info; Loading Loading @@ -508,9 +507,7 @@ bad_area_nosemaphore: no_context: /* Are we prepared to handle this kernel fault? */ fixup = search_exception_tables(regs->ip); if (fixup) { regs->ip = fixup->fixup; if (fixup_exception(regs)) { return; } Loading include/asm-x86/uaccess_64.h +2 −0 Original line number Diff line number Diff line Loading @@ -65,6 +65,8 @@ struct exception_table_entry unsigned long insn, fixup; }; extern int fixup_exception(struct pt_regs *regs); #define ARCH_HAS_SEARCH_EXTABLE /* Loading Loading
arch/x86/mm/fault_64.c +1 −4 Original line number Diff line number Diff line Loading @@ -298,7 +298,6 @@ asmlinkage void __kprobes do_page_fault(struct pt_regs *regs, struct mm_struct *mm; struct vm_area_struct * vma; unsigned long address; const struct exception_table_entry *fixup; int write, fault; unsigned long flags; siginfo_t info; Loading Loading @@ -508,9 +507,7 @@ bad_area_nosemaphore: no_context: /* Are we prepared to handle this kernel fault? */ fixup = search_exception_tables(regs->ip); if (fixup) { regs->ip = fixup->fixup; if (fixup_exception(regs)) { return; } Loading
include/asm-x86/uaccess_64.h +2 −0 Original line number Diff line number Diff line Loading @@ -65,6 +65,8 @@ struct exception_table_entry unsigned long insn, fixup; }; extern int fixup_exception(struct pt_regs *regs); #define ARCH_HAS_SEARCH_EXTABLE /* Loading