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 c929add475c9..0d4b28564c14 100644 --- a/arch/x86/kernel/entry_32.S +++ b/arch/x86/kernel/entry_32.S | |||
@@ -1154,6 +1154,7 @@ ENTRY(ftrace_graph_caller) | |||
1154 | pushl %edx | 1154 | pushl %edx |
1155 | movl 0xc(%esp), %edx | 1155 | movl 0xc(%esp), %edx |
1156 | lea 0x4(%ebp), %eax | 1156 | lea 0x4(%ebp), %eax |
1157 | movl (%ebp), %ecx | ||
1157 | subl $MCOUNT_INSN_SIZE, %edx | 1158 | subl $MCOUNT_INSN_SIZE, %edx |
1158 | call prepare_ftrace_return | 1159 | call prepare_ftrace_return |
1159 | popl %edx | 1160 | popl %edx |
@@ -1168,6 +1169,7 @@ return_to_handler: | |||
1168 | pushl %eax | 1169 | pushl %eax |
1169 | pushl %ecx | 1170 | pushl %ecx |
1170 | pushl %edx | 1171 | pushl %edx |
1172 | movl %ebp, %eax | ||
1171 | call ftrace_return_to_handler | 1173 | call ftrace_return_to_handler |
1172 | movl %eax, 0xc(%esp) | 1174 | movl %eax, 0xc(%esp) |
1173 | popl %edx | 1175 | popl %edx |