summaryrefslogtreecommitdiff
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2017-02-04 03:20:53 +0300
committerIngo Molnar <mingo@kernel.org>2017-03-03 03:45:22 +0300
commitcdc75e9f7b14f29efcf4b162a3c673733e96db79 (patch)
tree4d09cb5b167f5f5c82138f3cfe37977d5e8060de /include/linux/sched.h
parent77ba809e8b39b4e384df0433e2bd3dd0907dad29 (diff)
downloadlinux-cdc75e9f7b14f29efcf4b162a3c673733e96db79.tar.xz
sched/headers: Move 'init_task' and 'init_thread_union' from <linux/sched.h> to <linux/sched/task.h>
'init_task' is really not part of core scheduler APIs but part of the fork() interface between the scheduler and process management. So move the declarations. 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.h')
-rw-r--r--include/linux/sched.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 3eb284741790..4ab105a2a8f9 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1469,9 +1469,6 @@ static inline int kstack_end(void *addr)
}
#endif
-extern union thread_union init_thread_union;
-extern struct task_struct init_task;
-
extern struct pid_namespace init_pid_ns;
/*