aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kernel/ftrace.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/x86/kernel/ftrace.c b/arch/x86/kernel/ftrace.c
index d74d75e0952d..18828aee8781 100644
--- a/arch/x86/kernel/ftrace.c
+++ b/arch/x86/kernel/ftrace.c
@@ -491,13 +491,6 @@ void prepare_ftrace_return(unsigned long *parent, unsigned long self_addr)
491 return; 491 return;
492 } 492 }
493 493
494 if (unlikely(!__kernel_text_address(old))) {
495 ftrace_graph_stop();
496 *parent = old;
497 WARN_ON(1);
498 return;
499 }
500
501 calltime = cpu_clock(raw_smp_processor_id()); 494 calltime = cpu_clock(raw_smp_processor_id());
502 495
503 if (push_return_trace(old, calltime, 496 if (push_return_trace(old, calltime,