diff options
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/mm/fault.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/x86/mm/fault.c b/arch/x86/mm/fault.c index 8fe2dd254df0..9c2dc5d79531 100644 --- a/arch/x86/mm/fault.c +++ b/arch/x86/mm/fault.c | |||
@@ -972,10 +972,8 @@ static int fault_in_kernel_space(unsigned long address) | |||
972 | * and the problem, and then passes it off to one of the appropriate | 972 | * and the problem, and then passes it off to one of the appropriate |
973 | * routines. | 973 | * routines. |
974 | */ | 974 | */ |
975 | #ifdef CONFIG_X86_64 | 975 | dotraplinkage void __kprobes |
976 | asmlinkage | 976 | do_page_fault(struct pt_regs *regs, unsigned long error_code) |
977 | #endif | ||
978 | void __kprobes do_page_fault(struct pt_regs *regs, unsigned long error_code) | ||
979 | { | 977 | { |
980 | struct vm_area_struct *vma; | 978 | struct vm_area_struct *vma; |
981 | struct task_struct *tsk; | 979 | struct task_struct *tsk; |