提交 c5a21921 编写于 作者: I Ingo Molnar

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: NLinus 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: NIngo Molnar <mingo@kernel.org>
上级 42011db0
......@@ -176,15 +176,10 @@ struct uts_namespace;
/* Task command name length */
#define TASK_COMM_LEN 16
extern void sched_init(void);
extern void sched_init_smp(void);
extern cpumask_var_t cpu_isolated_map;
extern int runqueue_is_locked(int cpu);
extern void cpu_init (void);
extern void trap_init(void);
extern void update_process_times(int user);
extern void scheduler_tick(void);
......
......@@ -3,4 +3,11 @@
#include <linux/sched.h>
/*
* Scheduler init related prototypes:
*/
extern void sched_init(void);
extern void sched_init_smp(void);
#endif /* _LINUX_SCHED_INIT_H */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册