diff options
-rw-r--r-- | arch/x86/kernel/entry_32.S | 5 | ||||
-rw-r--r-- | arch/x86/kernel/ftrace.c | 1 |
2 files changed, 1 insertions, 5 deletions
diff --git a/arch/x86/kernel/entry_32.S b/arch/x86/kernel/entry_32.S index 9a0ac85946db..f97621149839 100644 --- a/arch/x86/kernel/entry_32.S +++ b/arch/x86/kernel/entry_32.S | |||
@@ -1217,12 +1217,9 @@ trace_return: | |||
1217 | pushl %eax | 1217 | pushl %eax |
1218 | pushl %ecx | 1218 | pushl %ecx |
1219 | pushl %edx | 1219 | pushl %edx |
1220 | movl 0xc(%esp), %eax | 1220 | movl 0xc(%esp), %edx |
1221 | pushl %eax | ||
1222 | lea 0x4(%ebp), %eax | 1221 | lea 0x4(%ebp), %eax |
1223 | pushl %eax | ||
1224 | call prepare_ftrace_return | 1222 | call prepare_ftrace_return |
1225 | addl $8, %esp | ||
1226 | popl %edx | 1223 | popl %edx |
1227 | popl %ecx | 1224 | popl %ecx |
1228 | popl %eax | 1225 | popl %eax |
diff --git a/arch/x86/kernel/ftrace.c b/arch/x86/kernel/ftrace.c index 1db0e121a3e7..fe832738e1e2 100644 --- a/arch/x86/kernel/ftrace.c +++ b/arch/x86/kernel/ftrace.c | |||
@@ -95,7 +95,6 @@ unsigned long ftrace_return_to_handler(void) | |||
95 | * Hook the return address and push it in the stack of return addrs | 95 | * Hook the return address and push it in the stack of return addrs |
96 | * in current thread info. | 96 | * in current thread info. |
97 | */ | 97 | */ |
98 | asmlinkage | ||
99 | void prepare_ftrace_return(unsigned long *parent, unsigned long self_addr) | 98 | void prepare_ftrace_return(unsigned long *parent, unsigned long self_addr) |
100 | { | 99 | { |
101 | unsigned long old; | 100 | unsigned long old; |