From: Ingo Molnar Date: Tue, 11 Nov 2008 10:57:02 +0000 (+0100) Subject: tracing: function return tracer, build fix X-Git-Tag: firefly_0821_release~13991^2~479^2 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=19b3e9671c5a219b8c34da2cc66e0ce7c3a501ae;p=firefly-linux-kernel-4.4.55.git tracing: function return tracer, build fix fix: arch/x86/kernel/ftrace.c: In function 'ftrace_return_to_handler': arch/x86/kernel/ftrace.c:112: error: implicit declaration of function 'cpu_clock' cpu_clock() is implicitly included via a number of ways, but its real location is sched.h. (Build failure is triggerable if enough other kernel components are turned off.) Signed-off-by: Ingo Molnar --- diff --git a/arch/x86/kernel/ftrace.c b/arch/x86/kernel/ftrace.c index 9b2325a4d53c..16a571dea2ef 100644 --- a/arch/x86/kernel/ftrace.c +++ b/arch/x86/kernel/ftrace.c @@ -14,6 +14,7 @@ #include #include #include +#include #include #include