summaryrefslogtreecommitdiffstats
path: root/kernel/sched/Makefile
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2021-06-21 08:41:43 +0200
committerIngo Molnar <mingo@kernel.org>2022-02-23 08:22:04 +0100
commitfa28abed7a84f5c9902fe28b3bb58f7900583e83 (patch)
tree553b1229a934187c8899855bfcd6c4b34e6b58ed /kernel/sched/Makefile
parentsched/headers: Add header guard to kernel/sched/stats.h and kernel/sched/auto... (diff)
downloadlinux-fa28abed7a84f5c9902fe28b3bb58f7900583e83.tar.xz
linux-fa28abed7a84f5c9902fe28b3bb58f7900583e83.zip
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>
Diffstat (limited to 'kernel/sched/Makefile')
-rw-r--r--kernel/sched/Makefile3
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/sched/Makefile b/kernel/sched/Makefile
index c83b37af155b..c0c52026ad0d 100644
--- a/kernel/sched/Makefile
+++ b/kernel/sched/Makefile
@@ -1,7 +1,4 @@
# SPDX-License-Identifier: GPL-2.0
-ifdef CONFIG_FUNCTION_TRACER
-CFLAGS_REMOVE_clock.o = $(CC_FLAGS_FTRACE)
-endif
# The compilers are complaining about unused variables inside an if(0) scope
# block. This is daft, shut them up.