Skip to content

Commit

Permalink
sched/headers: Prepare to move 'init_task' and 'init_thread_union' fr…
Browse files Browse the repository at this point in the history
…om <linux/sched.h> to <linux/sched/task.h>

Update all usage sites first.

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>
  • Loading branch information
Ingo Molnar committed Mar 2, 2017
1 parent 589ee62 commit 9164bb4
Show file tree
Hide file tree
Showing 16 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm64/kernel/setup.c
Expand Up @@ -42,6 +42,7 @@
#include <linux/of_fdt.h>
#include <linux/efi.h>
#include <linux/psci.h>
#include <linux/sched/task.h>
#include <linux/mm.h>

#include <asm/acpi.h>
Expand Down
1 change: 1 addition & 0 deletions arch/arm64/mm/kasan_init.c
Expand Up @@ -13,6 +13,7 @@
#define pr_fmt(fmt) "kasan: " fmt
#include <linux/kasan.h>
#include <linux/kernel.h>
#include <linux/sched/task.h>
#include <linux/memblock.h>
#include <linux/start_kernel.h>
#include <linux/mm.h>
Expand Down
1 change: 1 addition & 0 deletions arch/frv/mm/init.c
Expand Up @@ -18,6 +18,7 @@

#include <linux/signal.h>
#include <linux/sched.h>
#include <linux/sched/task.h>
#include <linux/pagemap.h>
#include <linux/gfp.h>
#include <linux/swap.h>
Expand Down
1 change: 1 addition & 0 deletions arch/metag/mm/init.c
Expand Up @@ -12,6 +12,7 @@
#include <linux/percpu.h>
#include <linux/memblock.h>
#include <linux/initrd.h>
#include <linux/sched/task.h>

#include <asm/setup.h>
#include <asm/page.h>
Expand Down
1 change: 1 addition & 0 deletions arch/nios2/kernel/setup.c
Expand Up @@ -14,6 +14,7 @@
#include <linux/kernel.h>
#include <linux/mm.h>
#include <linux/sched.h>
#include <linux/sched/task.h>
#include <linux/console.h>
#include <linux/bootmem.h>
#include <linux/initrd.h>
Expand Down
1 change: 1 addition & 0 deletions arch/powerpc/kernel/paca.c
Expand Up @@ -10,6 +10,7 @@
#include <linux/smp.h>
#include <linux/export.h>
#include <linux/memblock.h>
#include <linux/sched/task.h>

#include <asm/lppaca.h>
#include <asm/paca.h>
Expand Down
1 change: 1 addition & 0 deletions arch/um/kernel/skas/process.c
Expand Up @@ -6,6 +6,7 @@
#include <linux/init.h>
#include <linux/sched/mm.h>
#include <linux/sched/task_stack.h>
#include <linux/sched/task.h>

#include <as-layout.h>
#include <kern.h>
Expand Down
2 changes: 2 additions & 0 deletions arch/um/kernel/um_arch.c
Expand Up @@ -11,7 +11,9 @@
#include <linux/string.h>
#include <linux/utsname.h>
#include <linux/sched.h>
#include <linux/sched/task.h>
#include <linux/kmsg_dump.h>

#include <asm/pgtable.h>
#include <asm/processor.h>
#include <asm/sections.h>
Expand Down
1 change: 1 addition & 0 deletions arch/x86/kernel/cpu/common.c
Expand Up @@ -9,6 +9,7 @@
#include <linux/delay.h>
#include <linux/sched.h>
#include <linux/sched/clock.h>
#include <linux/sched/task.h>
#include <linux/init.h>
#include <linux/kprobes.h>
#include <linux/kgdb.h>
Expand Down
1 change: 1 addition & 0 deletions arch/x86/mm/kasan_init_64.c
Expand Up @@ -4,6 +4,7 @@
#include <linux/kdebug.h>
#include <linux/mm.h>
#include <linux/sched.h>
#include <linux/sched/task.h>
#include <linux/vmalloc.h>

#include <asm/tlbflush.h>
Expand Down
2 changes: 2 additions & 0 deletions fs/namespace.c
Expand Up @@ -25,6 +25,8 @@
#include <linux/magic.h>
#include <linux/bootmem.h>
#include <linux/task_work.h>
#include <linux/sched/task.h>

#include "pnode.h"
#include "internal.h"

Expand Down
1 change: 1 addition & 0 deletions include/linux/sched/signal.h
Expand Up @@ -5,5 +5,6 @@
#include <linux/cred.h>
#include <linux/sched.h>
#include <linux/sched/jobctl.h>
#include <linux/sched/task.h>

#endif /* _LINUX_SCHED_SIGNAL_H */
1 change: 1 addition & 0 deletions init/init_task.c
Expand Up @@ -4,6 +4,7 @@
#include <linux/sched.h>
#include <linux/sched/sysctl.h>
#include <linux/sched/rt.h>
#include <linux/sched/task.h>
#include <linux/init.h>
#include <linux/fs.h>
#include <linux/mm.h>
Expand Down
1 change: 1 addition & 0 deletions kernel/delayacct.c
Expand Up @@ -14,6 +14,7 @@
*/

#include <linux/sched.h>
#include <linux/sched/task.h>
#include <linux/slab.h>
#include <linux/taskstats.h>
#include <linux/time.h>
Expand Down
1 change: 1 addition & 0 deletions lib/is_single_threaded.c
Expand Up @@ -10,6 +10,7 @@
* 2 of the Licence, or (at your option) any later version.
*/
#include <linux/sched/signal.h>
#include <linux/sched/task.h>
#include <linux/sched/mm.h>

/*
Expand Down
1 change: 1 addition & 0 deletions mm/vmacache.c
Expand Up @@ -2,6 +2,7 @@
* Copyright (C) 2014 Davidlohr Bueso.
*/
#include <linux/sched/signal.h>
#include <linux/sched/task.h>
#include <linux/mm.h>
#include <linux/vmacache.h>

Expand Down

0 comments on commit 9164bb4

Please sign in to comment.