diff options
Diffstat (limited to 'arch/x86/kernel/entry_32.S')
-rw-r--r-- | arch/x86/kernel/entry_32.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/entry_32.S b/arch/x86/kernel/entry_32.S index 9f8ce77dbc64..c097e7d607c6 100644 --- a/arch/x86/kernel/entry_32.S +++ b/arch/x86/kernel/entry_32.S | |||
@@ -1174,6 +1174,7 @@ ENTRY(ftrace_graph_caller) | |||
1174 | pushl %edx | 1174 | pushl %edx |
1175 | movl 0xc(%esp), %edx | 1175 | movl 0xc(%esp), %edx |
1176 | lea 0x4(%ebp), %eax | 1176 | lea 0x4(%ebp), %eax |
1177 | movl (%ebp), %ecx | ||
1177 | subl $MCOUNT_INSN_SIZE, %edx | 1178 | subl $MCOUNT_INSN_SIZE, %edx |
1178 | call prepare_ftrace_return | 1179 | call prepare_ftrace_return |
1179 | popl %edx | 1180 | popl %edx |
@@ -1188,6 +1189,7 @@ return_to_handler: | |||
1188 | pushl %eax | 1189 | pushl %eax |
1189 | pushl %ecx | 1190 | pushl %ecx |
1190 | pushl %edx | 1191 | pushl %edx |
1192 | movl %ebp, %eax | ||
1191 | call ftrace_return_to_handler | 1193 | call ftrace_return_to_handler |
1192 | movl %eax, 0xc(%esp) | 1194 | movl %eax, 0xc(%esp) |
1193 | popl %edx | 1195 | popl %edx |