]> git.baikalelectronics.ru Git - kernel.git/commit
sched: Mark sched_clock() as notrace
authorMike Frysinger <vapier@gentoo.org>
Thu, 10 Dec 2009 01:07:03 +0000 (20:07 -0500)
committerIngo Molnar <mingo@elte.hu>
Thu, 10 Dec 2009 07:30:27 +0000 (08:30 +0100)
commit1bbfa6f25673019dc0acc9308b667c96f6cda8bf
treed6a49eaf657c7981e2734758fbb50e2265997c37
parent3786310afe738070be31c439b8deeaeb69b9735d
sched: Mark sched_clock() as notrace

The core ftrace code (trace_clock_local) calls sched_clock()
directly, so we don't want to recurisvely trigger the ftrace
code.  Rather than update every sched_clock() definition, tag
the prototype for everyone as notrace.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Cc: Peter Zijlstra <peterz@infradead.org>
LKML-Reference: <1260407223-10900-1-git-send-email-vapier@gentoo.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
include/linux/sched.h