diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel/entry_32.S | 1 | ||||
-rw-r--r-- | arch/x86/kernel/entry_64.S | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/entry_32.S b/arch/x86/kernel/entry_32.S index 958af86186c4..826682abed1d 100644 --- a/arch/x86/kernel/entry_32.S +++ b/arch/x86/kernel/entry_32.S | |||
@@ -1230,6 +1230,7 @@ ENTRY(ftrace_graph_caller) | |||
1230 | pushl %edx | 1230 | pushl %edx |
1231 | movl 0xc(%esp), %edx | 1231 | movl 0xc(%esp), %edx |
1232 | lea 0x4(%ebp), %eax | 1232 | lea 0x4(%ebp), %eax |
1233 | subl $MCOUNT_INSN_SIZE, %edx | ||
1233 | call prepare_ftrace_return | 1234 | call prepare_ftrace_return |
1234 | popl %edx | 1235 | popl %edx |
1235 | popl %ecx | 1236 | popl %ecx |
diff --git a/arch/x86/kernel/entry_64.S b/arch/x86/kernel/entry_64.S index 2aa0526ac30e..9060ba6497e2 100644 --- a/arch/x86/kernel/entry_64.S +++ b/arch/x86/kernel/entry_64.S | |||
@@ -173,6 +173,7 @@ ENTRY(ftrace_graph_caller) | |||
173 | 173 | ||
174 | leaq 8(%rbp), %rdi | 174 | leaq 8(%rbp), %rdi |
175 | movq 0x38(%rsp), %rsi | 175 | movq 0x38(%rsp), %rsi |
176 | subq $MCOUNT_INSN_SIZE, %rsi | ||
176 | 177 | ||
177 | call prepare_ftrace_return | 178 | call prepare_ftrace_return |
178 | 179 | ||