diff options
Diffstat (limited to 'arch/x86_64/kernel/entry.S')
-rw-r--r-- | arch/x86_64/kernel/entry.S | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/arch/x86_64/kernel/entry.S b/arch/x86_64/kernel/entry.S index 2092f565aa87..780f9b26169f 100644 --- a/arch/x86_64/kernel/entry.S +++ b/arch/x86_64/kernel/entry.S | |||
@@ -819,7 +819,7 @@ paranoid_schedule\trace: | |||
819 | * Exception entry point. This expects an error code/orig_rax on the stack | 819 | * Exception entry point. This expects an error code/orig_rax on the stack |
820 | * and the exception handler in %rax. | 820 | * and the exception handler in %rax. |
821 | */ | 821 | */ |
822 | ENTRY(error_entry) | 822 | KPROBE_ENTRY(error_entry) |
823 | _frame RDI | 823 | _frame RDI |
824 | /* rdi slot contains rax, oldrax contains error code */ | 824 | /* rdi slot contains rax, oldrax contains error code */ |
825 | cld | 825 | cld |
@@ -903,7 +903,7 @@ error_kernelspace: | |||
903 | cmpq $gs_change,RIP(%rsp) | 903 | cmpq $gs_change,RIP(%rsp) |
904 | je error_swapgs | 904 | je error_swapgs |
905 | jmp error_sti | 905 | jmp error_sti |
906 | END(error_entry) | 906 | KPROBE_END(error_entry) |
907 | 907 | ||
908 | /* Reload gs selector with exception handling */ | 908 | /* Reload gs selector with exception handling */ |
909 | /* edi: new selector */ | 909 | /* edi: new selector */ |
@@ -1025,8 +1025,7 @@ ENDPROC(execve) | |||
1025 | 1025 | ||
1026 | KPROBE_ENTRY(page_fault) | 1026 | KPROBE_ENTRY(page_fault) |
1027 | errorentry do_page_fault | 1027 | errorentry do_page_fault |
1028 | END(page_fault) | 1028 | KPROBE_END(page_fault) |
1029 | .previous .text | ||
1030 | 1029 | ||
1031 | ENTRY(coprocessor_error) | 1030 | ENTRY(coprocessor_error) |
1032 | zeroentry do_coprocessor_error | 1031 | zeroentry do_coprocessor_error |
@@ -1047,8 +1046,7 @@ KPROBE_ENTRY(debug) | |||
1047 | CFI_ADJUST_CFA_OFFSET 8 | 1046 | CFI_ADJUST_CFA_OFFSET 8 |
1048 | paranoidentry do_debug, DEBUG_STACK | 1047 | paranoidentry do_debug, DEBUG_STACK |
1049 | paranoidexit | 1048 | paranoidexit |
1050 | END(debug) | 1049 | KPROBE_END(debug) |
1051 | .previous .text | ||
1052 | 1050 | ||
1053 | /* runs on exception stack */ | 1051 | /* runs on exception stack */ |
1054 | KPROBE_ENTRY(nmi) | 1052 | KPROBE_ENTRY(nmi) |
@@ -1062,8 +1060,7 @@ KPROBE_ENTRY(nmi) | |||
1062 | jmp paranoid_exit1 | 1060 | jmp paranoid_exit1 |
1063 | CFI_ENDPROC | 1061 | CFI_ENDPROC |
1064 | #endif | 1062 | #endif |
1065 | END(nmi) | 1063 | KPROBE_END(nmi) |
1066 | .previous .text | ||
1067 | 1064 | ||
1068 | KPROBE_ENTRY(int3) | 1065 | KPROBE_ENTRY(int3) |
1069 | INTR_FRAME | 1066 | INTR_FRAME |
@@ -1072,8 +1069,7 @@ KPROBE_ENTRY(int3) | |||
1072 | paranoidentry do_int3, DEBUG_STACK | 1069 | paranoidentry do_int3, DEBUG_STACK |
1073 | jmp paranoid_exit1 | 1070 | jmp paranoid_exit1 |
1074 | CFI_ENDPROC | 1071 | CFI_ENDPROC |
1075 | END(int3) | 1072 | KPROBE_END(int3) |
1076 | .previous .text | ||
1077 | 1073 | ||
1078 | ENTRY(overflow) | 1074 | ENTRY(overflow) |
1079 | zeroentry do_overflow | 1075 | zeroentry do_overflow |
@@ -1121,8 +1117,7 @@ END(stack_segment) | |||
1121 | 1117 | ||
1122 | KPROBE_ENTRY(general_protection) | 1118 | KPROBE_ENTRY(general_protection) |
1123 | errorentry do_general_protection | 1119 | errorentry do_general_protection |
1124 | END(general_protection) | 1120 | KPROBE_END(general_protection) |
1125 | .previous .text | ||
1126 | 1121 | ||
1127 | ENTRY(alignment_check) | 1122 | ENTRY(alignment_check) |
1128 | errorentry do_alignment_check | 1123 | errorentry do_alignment_check |