sched/sysctl: Move extern sysctl declarations to sched.h
authorHailong Liu <liu.hailong6@zte.com.cn>
Sun, 6 Jun 2021 11:54:51 +0000 (19:54 +0800)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 28 Jun 2021 13:42:25 +0000 (15:42 +0200)
commit18765447c3b7867b3f8cccde52dc9d822852e71b
tree2f6e726d804b7d2731782a66838c800667cc3740
parent77eccd0dfae353a64a2088d308bed3b373a4220f
sched/sysctl: Move extern sysctl declarations to sched.h

Since commit '8a99b6833c88(sched: Move SCHED_DEBUG sysctl to debugfs)',
SCHED_DEBUG sysctls are moved to debugfs, so these extern sysctls in
include/linux/sched/sysctl.h are no longer needed for sysctl.c, even
some are no longer needed.

So move those extern sysctls that needed by kernel/sched/debug.c to
kernel/sched/sched.h, and remove others that are no longer needed.

Signed-off-by: Hailong Liu <liu.hailong6@zte.com.cn>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20210606115451.26745-1-liuhailongg6@163.com
include/linux/sched/sysctl.h
kernel/sched/sched.h