diff options
Diffstat (limited to 'arch/x86/kernel/entry_32.S')
-rw-r--r-- | arch/x86/kernel/entry_32.S | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/x86/kernel/entry_32.S b/arch/x86/kernel/entry_32.S index beb30da203d6..50b9c220e121 100644 --- a/arch/x86/kernel/entry_32.S +++ b/arch/x86/kernel/entry_32.S | |||
@@ -1209,17 +1209,14 @@ END(ftrace_graph_caller) | |||
1209 | 1209 | ||
1210 | .globl return_to_handler | 1210 | .globl return_to_handler |
1211 | return_to_handler: | 1211 | return_to_handler: |
1212 | pushl $0 | ||
1213 | pushl %eax | 1212 | pushl %eax |
1214 | pushl %ecx | ||
1215 | pushl %edx | 1213 | pushl %edx |
1216 | movl %ebp, %eax | 1214 | movl %ebp, %eax |
1217 | call ftrace_return_to_handler | 1215 | call ftrace_return_to_handler |
1218 | movl %eax, 0xc(%esp) | 1216 | movl %eax, %ecx |
1219 | popl %edx | 1217 | popl %edx |
1220 | popl %ecx | ||
1221 | popl %eax | 1218 | popl %eax |
1222 | ret | 1219 | jmp *%ecx |
1223 | #endif | 1220 | #endif |
1224 | 1221 | ||
1225 | .section .rodata,"a" | 1222 | .section .rodata,"a" |