sched: Have sched_class_highest define by vmlinux.lds.h
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Thu, 19 Dec 2019 21:44:53 +0000 (16:44 -0500)
committerPeter Zijlstra <peterz@infradead.org>
Thu, 25 Jun 2020 11:45:44 +0000 (13:45 +0200)
commitc3a340f7e7eadac7662ab104ceb16432e5a4c6b2
tree806761b75cc761bc4ef6b48a5228fb384c90598d
parent590d69796346353878b275c5512c664e3f875f24
sched: Have sched_class_highest define by vmlinux.lds.h

Now that the sched_class descriptors are defined by the linker script, and
this needs to be aware of the existance of stop_sched_class when SMP is
enabled or not, as it is used as the "highest" priority when defined. Move
the declaration of sched_class_highest to the same location in the linker
script that inserts stop_sched_class, and this will also make it easier to
see what should be defined as the highest class, as this linker script
location defines the priorities as well.

Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20191219214558.682913590@goodmis.org
include/asm-generic/vmlinux.lds.h
kernel/sched/core.c
kernel/sched/sched.h