diff options
author | Ingo Molnar <mingo@kernel.org> | 2017-02-05 08:47:12 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2017-03-02 19:45:25 -0500 |
commit | c5a21921d55a2aee9d1e031a78cef6cda3eab78b (patch) | |
tree | a19f2b905946322a8602ff7c8358eb404b34beaa /include/linux/sched/init.h | |
parent | 42011db0ed5a9c92b1281e1300eb3d026f3764a8 (diff) |
sched/headers: Move _init() prototypes from <linux/sched.h> to <linux/sched/init.h>
trap_init() and cpu_init() belong into <linux/cpu.h>, sched_init*() into <linux/sched/init.h>.
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/sched/init.h')
-rw-r--r-- | include/linux/sched/init.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/sched/init.h b/include/linux/sched/init.h index 15e46313e55e..f31d16075857 100644 --- a/include/linux/sched/init.h +++ b/include/linux/sched/init.h | |||
@@ -3,4 +3,11 @@ | |||
3 | 3 | ||
4 | #include <linux/sched.h> | 4 | #include <linux/sched.h> |
5 | 5 | ||
6 | /* | ||
7 | * Scheduler init related prototypes: | ||
8 | */ | ||
9 | |||
10 | extern void sched_init(void); | ||
11 | extern void sched_init_smp(void); | ||
12 | |||
6 | #endif /* _LINUX_SCHED_INIT_H */ | 13 | #endif /* _LINUX_SCHED_INIT_H */ |