tracing: function return tracer, build fix
authorIngo Molnar <mingo@elte.hu>
Tue, 11 Nov 2008 10:57:02 +0000 (11:57 +0100)
committerIngo Molnar <mingo@elte.hu>
Tue, 11 Nov 2008 11:03:27 +0000 (12:03 +0100)
commit19b3e9671c5a219b8c34da2cc66e0ce7c3a501ae
tree79447ec8092e2b35bd6232db8cd1a7a2ebd6a4d9
parent867f7fb3ebb831970847b179e7df5a9ab10da16d
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 <mingo@elte.hu>
arch/x86/kernel/ftrace.c