diff options
Diffstat (limited to 'arch/x86_64/mm/fault.c')
-rw-r--r-- | arch/x86_64/mm/fault.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/arch/x86_64/mm/fault.c b/arch/x86_64/mm/fault.c index 2f187986f940..493819e543a5 100644 --- a/arch/x86_64/mm/fault.c +++ b/arch/x86_64/mm/fault.c | |||
@@ -23,7 +23,6 @@ | |||
23 | #include <linux/vt_kern.h> /* For unblank_screen() */ | 23 | #include <linux/vt_kern.h> /* For unblank_screen() */ |
24 | #include <linux/compiler.h> | 24 | #include <linux/compiler.h> |
25 | #include <linux/module.h> | 25 | #include <linux/module.h> |
26 | #include <linux/kprobes.h> | ||
27 | 26 | ||
28 | #include <asm/system.h> | 27 | #include <asm/system.h> |
29 | #include <asm/uaccess.h> | 28 | #include <asm/uaccess.h> |
@@ -440,13 +439,13 @@ good_area: | |||
440 | * the fault. | 439 | * the fault. |
441 | */ | 440 | */ |
442 | switch (handle_mm_fault(mm, vma, address, write)) { | 441 | switch (handle_mm_fault(mm, vma, address, write)) { |
443 | case 1: | 442 | case VM_FAULT_MINOR: |
444 | tsk->min_flt++; | 443 | tsk->min_flt++; |
445 | break; | 444 | break; |
446 | case 2: | 445 | case VM_FAULT_MAJOR: |
447 | tsk->maj_flt++; | 446 | tsk->maj_flt++; |
448 | break; | 447 | break; |
449 | case 0: | 448 | case VM_FAULT_SIGBUS: |
450 | goto do_sigbus; | 449 | goto do_sigbus; |
451 | default: | 450 | default: |
452 | goto out_of_memory; | 451 | goto out_of_memory; |