diff options
Diffstat (limited to 'arch/x86/kernel/entry_32.S')
-rw-r--r-- | arch/x86/kernel/entry_32.S | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/x86/kernel/entry_32.S b/arch/x86/kernel/entry_32.S index 74defe21ba42..2b1f0f081a6b 100644 --- a/arch/x86/kernel/entry_32.S +++ b/arch/x86/kernel/entry_32.S | |||
@@ -1188,9 +1188,9 @@ ENTRY(mcount) | |||
1188 | 1188 | ||
1189 | cmpl $ftrace_stub, ftrace_trace_function | 1189 | cmpl $ftrace_stub, ftrace_trace_function |
1190 | jnz trace | 1190 | jnz trace |
1191 | #ifdef CONFIG_FUNCTION_RET_TRACER | 1191 | #ifdef CONFIG_FUNCTION_GRAPH_TRACER |
1192 | cmpl $ftrace_stub, ftrace_function_return | 1192 | cmpl $ftrace_stub, ftrace_graph_function |
1193 | jnz ftrace_return_caller | 1193 | jnz ftrace_graph_caller |
1194 | #endif | 1194 | #endif |
1195 | .globl ftrace_stub | 1195 | .globl ftrace_stub |
1196 | ftrace_stub: | 1196 | ftrace_stub: |
@@ -1215,8 +1215,8 @@ END(mcount) | |||
1215 | #endif /* CONFIG_DYNAMIC_FTRACE */ | 1215 | #endif /* CONFIG_DYNAMIC_FTRACE */ |
1216 | #endif /* CONFIG_FUNCTION_TRACER */ | 1216 | #endif /* CONFIG_FUNCTION_TRACER */ |
1217 | 1217 | ||
1218 | #ifdef CONFIG_FUNCTION_RET_TRACER | 1218 | #ifdef CONFIG_FUNCTION_GRAPH_TRACER |
1219 | ENTRY(ftrace_return_caller) | 1219 | ENTRY(ftrace_graph_caller) |
1220 | cmpl $0, function_trace_stop | 1220 | cmpl $0, function_trace_stop |
1221 | jne ftrace_stub | 1221 | jne ftrace_stub |
1222 | 1222 | ||
@@ -1230,7 +1230,7 @@ ENTRY(ftrace_return_caller) | |||
1230 | popl %ecx | 1230 | popl %ecx |
1231 | popl %eax | 1231 | popl %eax |
1232 | ret | 1232 | ret |
1233 | END(ftrace_return_caller) | 1233 | END(ftrace_graph_caller) |
1234 | 1234 | ||
1235 | .globl return_to_handler | 1235 | .globl return_to_handler |
1236 | return_to_handler: | 1236 | return_to_handler: |