diff options
author | Ingo Molnar <mingo@kernel.org> | 2021-06-21 08:41:43 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2022-02-23 08:22:04 +0100 |
commit | fa28abed7a84f5c9902fe28b3bb58f7900583e83 (patch) | |
tree | 553b1229a934187c8899855bfcd6c4b34e6b58ed /kernel/sched/Makefile | |
parent | d90a2f160a1cd9a1745896c381afdf8d2812fd6b (diff) |
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/Makefile | 3 |
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. |