sched/headers: sched/clock: Mark all functions 'notrace', remove CC_FLAGS_FTRACE...
authorIngo Molnar <mingo@kernel.org>
Mon, 21 Jun 2021 06:41:43 +0000 (08:41 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 23 Feb 2022 07:22:04 +0000 (08:22 +0100)
commitfa28abed7a84f5c9902fe28b3bb58f7900583e83
tree553b1229a934187c8899855bfcd6c4b34e6b58ed
parentd90a2f160a1cd9a1745896c381afdf8d2812fd6b
sched/headers: sched/clock: Mark all functions 'notrace', remove CC_FLAGS_FTRACE build asymmetry

Mark all non-init functions in kernel/sched.c as 'notrace', instead of
turning them all off via CC_FLAGS_FTRACE.

This is going to allow the treatment of this file as any other scheduler
file, and it can be #include-ed in compound compilation units as well.

Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Peter Zijlstra <peterz@infradead.org>
kernel/sched/Makefile
kernel/sched/clock.c