Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

sched/headers: Prepare to remove the <linux/mm_types.h> dependency from <linux/sched.h>

Update code that relied on sched.h including various MM types for them.

This will allow us to remove the <linux/mm_types.h> include from <linux/sched.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>

+125 -25
+1
arch/alpha/include/asm/a.out-core.h
··· 15 15 #ifdef __KERNEL__ 16 16 17 17 #include <linux/user.h> 18 + #include <linux/mm_types.h> 18 19 19 20 /* 20 21 * Fill in the user structure for an ECOFF core dump.
+2
arch/alpha/include/asm/mmu_context.h
··· 7 7 * Copyright (C) 1996, Linus Torvalds 8 8 */ 9 9 10 + #include <linux/mm_types.h> 11 + 10 12 #include <asm/machvec.h> 11 13 #include <asm/compiler.h> 12 14 #include <asm-generic/mm_hooks.h>
+2
arch/arc/mm/tlb.c
··· 53 53 54 54 #include <linux/module.h> 55 55 #include <linux/bug.h> 56 + #include <linux/mm_types.h> 57 + 56 58 #include <asm/arcregs.h> 57 59 #include <asm/setup.h> 58 60 #include <asm/mmu_context.h>
+2
arch/arm/include/asm/mmu_context.h
··· 15 15 16 16 #include <linux/compiler.h> 17 17 #include <linux/sched.h> 18 + #include <linux/mm_types.h> 18 19 #include <linux/preempt.h> 20 + 19 21 #include <asm/cacheflush.h> 20 22 #include <asm/cachetype.h> 21 23 #include <asm/proc-fns.h>
+4 -3
arch/arm/include/asm/tlbflush.h
··· 10 10 #ifndef _ASMARM_TLBFLUSH_H 11 11 #define _ASMARM_TLBFLUSH_H 12 12 13 + #ifndef __ASSEMBLY__ 14 + # include <linux/mm_types.h> 15 + #endif 16 + 13 17 #ifdef CONFIG_MMU 14 18 15 19 #include <asm/glue.h> ··· 648 644 #elif defined(CONFIG_SMP) /* !CONFIG_MMU */ 649 645 650 646 #ifndef __ASSEMBLY__ 651 - 652 - #include <linux/mm_types.h> 653 - 654 647 static inline void local_flush_tlb_all(void) { } 655 648 static inline void local_flush_tlb_mm(struct mm_struct *mm) { } 656 649 static inline void local_flush_tlb_page(struct vm_area_struct *vma, unsigned long uaddr) { }
+1
arch/arm/kernel/suspend.c
··· 1 1 #include <linux/init.h> 2 2 #include <linux/slab.h> 3 + #include <linux/mm_types.h> 3 4 4 5 #include <asm/cacheflush.h> 5 6 #include <asm/idmap.h>
+1
arch/arm/kernel/swp_emulate.c
··· 23 23 #include <linux/proc_fs.h> 24 24 #include <linux/seq_file.h> 25 25 #include <linux/sched.h> 26 + #include <linux/sched/mm.h> 26 27 #include <linux/syscalls.h> 27 28 #include <linux/perf_event.h> 28 29
+1
arch/arm/mm/idmap.c
··· 1 1 #include <linux/module.h> 2 2 #include <linux/kernel.h> 3 3 #include <linux/slab.h> 4 + #include <linux/mm_types.h> 4 5 5 6 #include <asm/cputype.h> 6 7 #include <asm/idmap.h>
+1
arch/arm64/include/asm/mmu_context.h
··· 26 26 #include <linux/compiler.h> 27 27 #include <linux/sched.h> 28 28 #include <linux/sched/hotplug.h> 29 + #include <linux/mm_types.h> 29 30 30 31 #include <asm/cacheflush.h> 31 32 #include <asm/cpufeature.h>
+1
arch/arm64/kernel/traps.c
··· 33 33 #include <linux/sched/debug.h> 34 34 #include <linux/sched/task_stack.h> 35 35 #include <linux/syscalls.h> 36 + #include <linux/mm_types.h> 36 37 37 38 #include <asm/atomic.h> 38 39 #include <asm/bug.h>
+2
arch/avr32/include/asm/mmu_context.h
··· 12 12 #ifndef __ASM_AVR32_MMU_CONTEXT_H 13 13 #define __ASM_AVR32_MMU_CONTEXT_H 14 14 15 + #include <linux/mm_types.h> 16 + 15 17 #include <asm/tlbflush.h> 16 18 #include <asm/sysreg.h> 17 19 #include <asm-generic/mm_hooks.h>
+2
arch/blackfin/include/asm/mmu_context.h
··· 9 9 10 10 #include <linux/slab.h> 11 11 #include <linux/sched.h> 12 + #include <linux/mm_types.h> 13 + 12 14 #include <asm/setup.h> 13 15 #include <asm/page.h> 14 16 #include <asm/pgalloc.h>
+1
arch/blackfin/kernel/flat.c
··· 6 6 7 7 #include <linux/module.h> 8 8 #include <linux/sched.h> 9 + #include <linux/mm_types.h> 9 10 #include <linux/flat.h> 10 11 11 12 #define FLAT_BFIN_RELOC_TYPE_16_BIT 0
+1
arch/blackfin/kernel/process.c
··· 15 15 #include <linux/sched/debug.h> 16 16 #include <linux/sched/task.h> 17 17 #include <linux/sched/task_stack.h> 18 + #include <linux/mm_types.h> 18 19 #include <linux/tick.h> 19 20 #include <linux/fs.h> 20 21 #include <linux/err.h>
+2
arch/blackfin/mm/sram-alloc.c
··· 19 19 #include <linux/spinlock.h> 20 20 #include <linux/rtc.h> 21 21 #include <linux/slab.h> 22 + #include <linux/mm_types.h> 23 + 22 24 #include <asm/blackfin.h> 23 25 #include <asm/mem_map.h> 24 26 #include "blackfin_sram.h"
+2
arch/cris/arch-v10/mm/tlb.c
··· 10 10 * 11 11 */ 12 12 13 + #include <linux/mm_types.h> 14 + 13 15 #include <asm/tlb.h> 14 16 #include <asm/mmu_context.h> 15 17 #include <arch/svinto.h>
+1
arch/cris/arch-v32/mm/tlb.c
··· 6 6 * Authors: Bjorn Wesen <bjornw@axis.com> 7 7 * Tobias Anderberg <tobiasa@axis.com>, CRISv32 port. 8 8 */ 9 + #include <linux/mm_types.h> 9 10 10 11 #include <asm/tlb.h> 11 12 #include <asm/mmu_context.h>
+1 -1
arch/cris/include/asm/pgtable.h
··· 9 9 #include <asm-generic/pgtable-nopmd.h> 10 10 11 11 #ifndef __ASSEMBLY__ 12 - #include <linux/sched.h> 12 + #include <linux/sched/mm.h> 13 13 #include <asm/mmu.h> 14 14 #endif 15 15 #include <arch/pgtable.h>
+2
arch/cris/mm/tlb.c
··· 9 9 10 10 #include <linux/init.h> 11 11 #include <linux/kernel.h> 12 + #include <linux/mm_types.h> 13 + 12 14 #include <asm/tlb.h> 13 15 14 16 #define D(x)
+1
arch/h8300/kernel/traps.c
··· 17 17 #include <linux/types.h> 18 18 #include <linux/sched.h> 19 19 #include <linux/sched/debug.h> 20 + #include <linux/mm_types.h> 20 21 #include <linux/kernel.h> 21 22 #include <linux/errno.h> 22 23 #include <linux/init.h>
+2
arch/hexagon/include/asm/mmu_context.h
··· 21 21 #ifndef _ASM_MMU_CONTEXT_H 22 22 #define _ASM_MMU_CONTEXT_H 23 23 24 + #include <linux/mm_types.h> 25 + 24 26 #include <asm/setup.h> 25 27 #include <asm/page.h> 26 28 #include <asm/pgalloc.h>
+1
arch/hexagon/kernel/smp.c
··· 29 29 #include <linux/smp.h> 30 30 #include <linux/spinlock.h> 31 31 #include <linux/cpu.h> 32 + #include <linux/mm_types.h> 32 33 33 34 #include <asm/time.h> /* timer_interrupt */ 34 35 #include <asm/hexagon_vm.h>
+1
arch/ia64/include/asm/mmu_context.h
··· 26 26 #include <linux/compiler.h> 27 27 #include <linux/percpu.h> 28 28 #include <linux/sched.h> 29 + #include <linux/mm_types.h> 29 30 #include <linux/spinlock.h> 30 31 31 32 #include <asm/processor.h>
+1 -1
arch/ia64/include/asm/pgtable.h
··· 147 147 148 148 # ifndef __ASSEMBLY__ 149 149 150 - #include <linux/sched.h> /* for mm_struct */ 150 + #include <linux/sched/mm.h> /* for mm_struct */ 151 151 #include <linux/bitops.h> 152 152 #include <asm/cacheflush.h> 153 153 #include <asm/mmu_context.h>
+1
arch/ia64/sn/kernel/sn2/sn2_smp.c
··· 13 13 #include <linux/spinlock.h> 14 14 #include <linux/threads.h> 15 15 #include <linux/sched.h> 16 + #include <linux/mm_types.h> 16 17 #include <linux/smp.h> 17 18 #include <linux/interrupt.h> 18 19 #include <linux/irq.h>
+2
arch/m32r/include/asm/mmu_context.h
··· 12 12 #ifndef __ASSEMBLY__ 13 13 14 14 #include <linux/atomic.h> 15 + #include <linux/mm_types.h> 16 + 15 17 #include <asm/pgalloc.h> 16 18 #include <asm/mmu.h> 17 19 #include <asm/tlbflush.h>
+1
arch/m68k/include/asm/a.out-core.h
··· 16 16 17 17 #include <linux/user.h> 18 18 #include <linux/elfcore.h> 19 + #include <linux/mm_types.h> 19 20 20 21 /* 21 22 * fill in the user structure for an a.out core dump
+1
arch/m68k/include/asm/mmu_context.h
··· 2 2 #define __M68K_MMU_CONTEXT_H 3 3 4 4 #include <asm-generic/mm_hooks.h> 5 + #include <linux/mm_types.h> 5 6 6 7 static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) 7 8 {
+1
arch/metag/include/asm/mmu_context.h
··· 9 9 #include <asm/cacheflush.h> 10 10 11 11 #include <linux/io.h> 12 + #include <linux/mm_types.h> 12 13 13 14 static inline void enter_lazy_tlb(struct mm_struct *mm, 14 15 struct task_struct *tsk)
+2
arch/microblaze/include/asm/mmu_context_mm.h
··· 12 12 #define _ASM_MICROBLAZE_MMU_CONTEXT_H 13 13 14 14 #include <linux/atomic.h> 15 + #include <linux/mm_types.h> 16 + 15 17 #include <asm/bitops.h> 16 18 #include <asm/mmu.h> 17 19 #include <asm-generic/mm_hooks.h>
+1
arch/microblaze/mm/pgtable.c
··· 31 31 #include <linux/types.h> 32 32 #include <linux/vmalloc.h> 33 33 #include <linux/init.h> 34 + #include <linux/mm_types.h> 34 35 35 36 #include <asm/pgtable.h> 36 37 #include <asm/pgalloc.h>
+2
arch/mips/include/asm/elf.h
··· 10 10 11 11 #include <linux/auxvec.h> 12 12 #include <linux/fs.h> 13 + #include <linux/mm_types.h> 14 + 13 15 #include <uapi/linux/elf.h> 14 16 15 17 #include <asm/current.h>
+2
arch/mips/include/asm/mmu_context.h
··· 13 13 14 14 #include <linux/errno.h> 15 15 #include <linux/sched.h> 16 + #include <linux/mm_types.h> 16 17 #include <linux/smp.h> 17 18 #include <linux/slab.h> 19 + 18 20 #include <asm/cacheflush.h> 19 21 #include <asm/dsemul.h> 20 22 #include <asm/hazards.h>
+1 -1
arch/mips/kernel/smp.c
··· 28 28 #include <linux/export.h> 29 29 #include <linux/time.h> 30 30 #include <linux/timex.h> 31 - #include <linux/sched.h> 31 + #include <linux/sched/mm.h> 32 32 #include <linux/cpumask.h> 33 33 #include <linux/cpu.h> 34 34 #include <linux/err.h>
+1
arch/mips/math-emu/dsemul.c
··· 1 1 #include <linux/err.h> 2 2 #include <linux/slab.h> 3 + #include <linux/mm_types.h> 3 4 4 5 #include <asm/branch.h> 5 6 #include <asm/cacheflush.h>
+1
arch/mips/mm/ioremap.c
··· 12 12 #include <linux/sched.h> 13 13 #include <linux/slab.h> 14 14 #include <linux/vmalloc.h> 15 + #include <linux/mm_types.h> 15 16 #include <asm/cacheflush.h> 16 17 #include <asm/io.h> 17 18 #include <asm/tlbflush.h>
+2
arch/mn10300/include/asm/mmu_context.h
··· 23 23 #define _ASM_MMU_CONTEXT_H 24 24 25 25 #include <linux/atomic.h> 26 + #include <linux/mm_types.h> 27 + 26 28 #include <asm/pgalloc.h> 27 29 #include <asm/tlbflush.h> 28 30 #include <asm-generic/mm_hooks.h>
+1 -1
arch/mn10300/kernel/smp.c
··· 21 21 #include <linux/err.h> 22 22 #include <linux/kernel.h> 23 23 #include <linux/delay.h> 24 - #include <linux/sched.h> 24 + #include <linux/sched/mm.h> 25 25 #include <linux/sched/task.h> 26 26 #include <linux/profile.h> 27 27 #include <linux/smp.h>
+1 -1
arch/mn10300/mm/tlb-smp.c
··· 20 20 #include <linux/err.h> 21 21 #include <linux/kernel.h> 22 22 #include <linux/delay.h> 23 - #include <linux/sched.h> 23 + #include <linux/sched/mm.h> 24 24 #include <linux/profile.h> 25 25 #include <linux/smp.h> 26 26 #include <asm/tlbflush.h>
+2
arch/nios2/include/asm/mmu_context.h
··· 13 13 #ifndef _ASM_NIOS2_MMU_CONTEXT_H 14 14 #define _ASM_NIOS2_MMU_CONTEXT_H 15 15 16 + #include <linux/mm_types.h> 17 + 16 18 #include <asm-generic/mm_hooks.h> 17 19 18 20 extern void mmu_context_init(void);
+1
arch/nios2/kernel/process.c
··· 17 17 #include <linux/sched/debug.h> 18 18 #include <linux/sched/task.h> 19 19 #include <linux/sched/task_stack.h> 20 + #include <linux/mm_types.h> 20 21 #include <linux/tick.h> 21 22 #include <linux/uaccess.h> 22 23
+1 -1
arch/powerpc/kernel/io-workarounds.c
··· 12 12 #undef DEBUG 13 13 14 14 #include <linux/kernel.h> 15 - #include <linux/sched.h> /* for init_mm */ 15 + #include <linux/sched/mm.h> /* for init_mm */ 16 16 17 17 #include <asm/io.h> 18 18 #include <asm/machdep.h>
+1 -1
arch/powerpc/kvm/e500_mmu_host.c
··· 25 25 #include <linux/highmem.h> 26 26 #include <linux/log2.h> 27 27 #include <linux/uaccess.h> 28 - #include <linux/sched.h> 28 + #include <linux/sched/mm.h> 29 29 #include <linux/rwsem.h> 30 30 #include <linux/vmalloc.h> 31 31 #include <linux/hugetlb.h>
+1
arch/powerpc/lib/feature-fixups.c
··· 17 17 #include <linux/kernel.h> 18 18 #include <linux/string.h> 19 19 #include <linux/init.h> 20 + #include <linux/sched/mm.h> 20 21 #include <asm/cputable.h> 21 22 #include <asm/code-patching.h> 22 23 #include <asm/page.h>
+1 -1
arch/powerpc/mm/hash_utils_64.c
··· 23 23 24 24 #include <linux/spinlock.h> 25 25 #include <linux/errno.h> 26 - #include <linux/sched.h> 26 + #include <linux/sched/mm.h> 27 27 #include <linux/proc_fs.h> 28 28 #include <linux/stat.h> 29 29 #include <linux/sysctl.h>
+2
arch/powerpc/mm/pgtable-book3s64.c
··· 8 8 */ 9 9 10 10 #include <linux/sched.h> 11 + #include <linux/mm_types.h> 12 + 11 13 #include <asm/pgalloc.h> 12 14 #include <asm/tlb.h> 13 15
+2
arch/powerpc/mm/pgtable-hash64.c
··· 10 10 */ 11 11 12 12 #include <linux/sched.h> 13 + #include <linux/mm_types.h> 14 + 13 15 #include <asm/pgalloc.h> 14 16 #include <asm/tlb.h> 15 17
+1 -1
arch/powerpc/mm/pgtable-radix.c
··· 8 8 * as published by the Free Software Foundation; either version 9 9 * 2 of the License, or (at your option) any later version. 10 10 */ 11 - #include <linux/sched.h> 11 + #include <linux/sched/mm.h> 12 12 #include <linux/memblock.h> 13 13 #include <linux/of_fdt.h> 14 14
+2
arch/powerpc/mm/slb.c
··· 22 22 #include <asm/cacheflush.h> 23 23 #include <asm/smp.h> 24 24 #include <linux/compiler.h> 25 + #include <linux/mm_types.h> 26 + 25 27 #include <asm/udbg.h> 26 28 #include <asm/code-patching.h> 27 29
+1 -1
arch/s390/include/asm/elf.h
··· 132 132 typedef s390_compat_regs compat_elf_gregset_t; 133 133 134 134 #include <linux/compat.h> 135 - #include <linux/sched.h> /* for task_struct */ 135 + #include <linux/sched/mm.h> /* for task_struct */ 136 136 #include <asm/mmu_context.h> 137 137 138 138 #include <asm/vdso.h>
+1
arch/s390/include/asm/mmu_context.h
··· 9 9 10 10 #include <asm/pgalloc.h> 11 11 #include <linux/uaccess.h> 12 + #include <linux/mm_types.h> 12 13 #include <asm/tlbflush.h> 13 14 #include <asm/ctl_reg.h> 14 15
+1
arch/s390/kernel/processor.c
··· 10 10 #include <linux/kernel.h> 11 11 #include <linux/init.h> 12 12 #include <linux/seq_file.h> 13 + #include <linux/mm_types.h> 13 14 #include <linux/delay.h> 14 15 #include <linux/cpu.h> 15 16 #include <asm/diag.h>
+2
arch/s390/kvm/gaccess.c
··· 6 6 */ 7 7 8 8 #include <linux/vmalloc.h> 9 + #include <linux/mm_types.h> 9 10 #include <linux/err.h> 11 + 10 12 #include <asm/pgtable.h> 11 13 #include <asm/gmap.h> 12 14 #include "kvm-s390.h"
+2
arch/s390/kvm/priv.c
··· 15 15 #include <linux/gfp.h> 16 16 #include <linux/errno.h> 17 17 #include <linux/compat.h> 18 + #include <linux/mm_types.h> 19 + 18 20 #include <asm/asm-offsets.h> 19 21 #include <asm/facility.h> 20 22 #include <asm/current.h>
+2
arch/score/include/asm/mmu_context.h
··· 3 3 4 4 #include <linux/errno.h> 5 5 #include <linux/sched.h> 6 + #include <linux/mm_types.h> 6 7 #include <linux/slab.h> 8 + 7 9 #include <asm-generic/mm_hooks.h> 8 10 9 11 #include <asm/cacheflush.h>
+1
arch/score/kernel/traps.c
··· 26 26 #include <linux/extable.h> 27 27 #include <linux/sched/signal.h> 28 28 #include <linux/sched/debug.h> 29 + #include <linux/mm_types.h> 29 30 30 31 #include <asm/cacheflush.h> 31 32 #include <asm/irq.h>
+2
arch/sh/include/asm/mmu_context.h
··· 11 11 #include <cpu/mmu_context.h> 12 12 #include <asm/tlbflush.h> 13 13 #include <linux/uaccess.h> 14 + #include <linux/mm_types.h> 15 + 14 16 #include <asm/io.h> 15 17 #include <asm-generic/mm_hooks.h> 16 18
+2
arch/sparc/include/asm/mmu_context_64.h
··· 6 6 #ifndef __ASSEMBLY__ 7 7 8 8 #include <linux/spinlock.h> 9 + #include <linux/mm_types.h> 10 + 9 11 #include <asm/spitfire.h> 10 12 #include <asm-generic/mm_hooks.h> 11 13
+3
arch/sparc/include/asm/pgtable_64.h
··· 878 878 #define pte_offset_map pte_index 879 879 #define pte_unmap(pte) do { } while (0) 880 880 881 + /* We cannot include <linux/mm_types.h> at this point yet: */ 882 + extern struct mm_struct init_mm; 883 + 881 884 /* Actual page table PTE updates. */ 882 885 void tlb_batch_add(struct mm_struct *mm, unsigned long vaddr, 883 886 pte_t *ptep, pte_t orig, int fullmm,
+1
arch/sparc/kernel/asm-offsets.c
··· 11 11 */ 12 12 13 13 #include <linux/sched.h> 14 + #include <linux/mm_types.h> 14 15 // #include <linux/mm.h> 15 16 #include <linux/kbuild.h> 16 17
+1
arch/sparc/kernel/traps_32.c
··· 11 11 12 12 #include <linux/sched.h> /* for jiffies */ 13 13 #include <linux/sched/debug.h> 14 + #include <linux/mm_types.h> 14 15 #include <linux/kernel.h> 15 16 #include <linux/signal.h> 16 17 #include <linux/smp.h>
+2
arch/sparc/mm/tsb.c
··· 6 6 #include <linux/kernel.h> 7 7 #include <linux/preempt.h> 8 8 #include <linux/slab.h> 9 + #include <linux/mm_types.h> 10 + 9 11 #include <asm/page.h> 10 12 #include <asm/pgtable.h> 11 13 #include <asm/mmu_context.h>
+2
arch/tile/include/asm/mmu_context.h
··· 16 16 #define _ASM_TILE_MMU_CONTEXT_H 17 17 18 18 #include <linux/smp.h> 19 + #include <linux/mm_types.h> 20 + 19 21 #include <asm/setup.h> 20 22 #include <asm/page.h> 21 23 #include <asm/pgalloc.h>
+2
arch/um/include/asm/mmu_context.h
··· 7 7 #define __UM_MMU_CONTEXT_H 8 8 9 9 #include <linux/sched.h> 10 + #include <linux/mm_types.h> 11 + 10 12 #include <asm/mmu.h> 11 13 12 14 extern void uml_setup_stubs(struct mm_struct *mm);
+1 -1
arch/um/kernel/exec.c
··· 7 7 #include <linux/module.h> 8 8 #include <linux/fs.h> 9 9 #include <linux/ptrace.h> 10 - #include <linux/sched.h> 10 + #include <linux/sched/mm.h> 11 11 #include <linux/sched/task.h> 12 12 #include <linux/sched/task_stack.h> 13 13 #include <linux/slab.h>
+1
arch/um/kernel/reboot.c
··· 5 5 6 6 #include <linux/sched/signal.h> 7 7 #include <linux/sched/task.h> 8 + #include <linux/sched/mm.h> 8 9 #include <linux/spinlock.h> 9 10 #include <linux/slab.h> 10 11 #include <linux/oom.h>
+2 -1
arch/um/kernel/skas/process.c
··· 4 4 */ 5 5 6 6 #include <linux/init.h> 7 - #include <linux/sched.h> 7 + #include <linux/sched/mm.h> 8 8 #include <linux/sched/task_stack.h> 9 + 9 10 #include <as-layout.h> 10 11 #include <kern.h> 11 12 #include <os.h>
+1
arch/x86/entry/vsyscall/vsyscall_64.c
··· 28 28 #include <linux/kernel.h> 29 29 #include <linux/timer.h> 30 30 #include <linux/sched/signal.h> 31 + #include <linux/mm_types.h> 31 32 #include <linux/syscalls.h> 32 33 #include <linux/ratelimit.h> 33 34
+1 -1
arch/x86/events/core.c
··· 20 20 #include <linux/export.h> 21 21 #include <linux/init.h> 22 22 #include <linux/kdebug.h> 23 - #include <linux/sched.h> 23 + #include <linux/sched/mm.h> 24 24 #include <linux/sched/clock.h> 25 25 #include <linux/uaccess.h> 26 26 #include <linux/slab.h>
+2
arch/x86/include/asm/a.out-core.h
··· 17 17 18 18 #include <linux/user.h> 19 19 #include <linux/elfcore.h> 20 + #include <linux/mm_types.h> 21 + 20 22 #include <asm/debugreg.h> 21 23 22 24 /*
+2
arch/x86/include/asm/mpx.h
··· 2 2 #define _ASM_X86_MPX_H 3 3 4 4 #include <linux/types.h> 5 + #include <linux/mm_types.h> 6 + 5 7 #include <asm/ptrace.h> 6 8 #include <asm/insn.h> 7 9
+1
arch/x86/mm/mpx.c
··· 7 7 */ 8 8 #include <linux/kernel.h> 9 9 #include <linux/slab.h> 10 + #include <linux/mm_types.h> 10 11 #include <linux/syscalls.h> 11 12 #include <linux/sched/sysctl.h> 12 13
+1
arch/x86/um/syscalls_64.c
··· 6 6 */ 7 7 8 8 #include <linux/sched.h> 9 + #include <linux/sched/mm.h> 9 10 #include <linux/uaccess.h> 10 11 #include <asm/prctl.h> /* XXX This should get the constants from libc */ 11 12 #include <os.h>
+1 -1
arch/x86/xen/mmu.c
··· 38 38 * 39 39 * Jeremy Fitzhardinge <jeremy@xensource.com>, XenSource Inc, 2007 40 40 */ 41 - #include <linux/sched.h> 41 + #include <linux/sched/mm.h> 42 42 #include <linux/highmem.h> 43 43 #include <linux/debugfs.h> 44 44 #include <linux/bug.h>
+1
arch/xtensa/include/asm/mmu_context.h
··· 17 17 18 18 #include <linux/stringify.h> 19 19 #include <linux/sched.h> 20 + #include <linux/mm_types.h> 20 21 21 22 #include <asm/vectors.h> 22 23
+2
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c
··· 23 23 24 24 #include <linux/printk.h> 25 25 #include <linux/slab.h> 26 + #include <linux/mm_types.h> 27 + 26 28 #include "kfd_priv.h" 27 29 #include "kfd_mqd_manager.h" 28 30 #include "cik_regs.h"
+2
drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c
··· 23 23 24 24 #include <linux/printk.h> 25 25 #include <linux/slab.h> 26 + #include <linux/mm_types.h> 27 + 26 28 #include "kfd_priv.h" 27 29 #include "kfd_mqd_manager.h" 28 30 #include "vi_structs.h"
+1 -1
drivers/infiniband/hw/cxgb3/iwch_provider.c
··· 37 37 #include <linux/delay.h> 38 38 #include <linux/errno.h> 39 39 #include <linux/list.h> 40 - #include <linux/sched.h> 40 + #include <linux/sched/mm.h> 41 41 #include <linux/spinlock.h> 42 42 #include <linux/ethtool.h> 43 43 #include <linux/rtnetlink.h>
+1 -1
drivers/infiniband/hw/cxgb4/iw_cxgb4.h
··· 37 37 #include <linux/idr.h> 38 38 #include <linux/completion.h> 39 39 #include <linux/netdevice.h> 40 - #include <linux/sched.h> 40 + #include <linux/sched/mm.h> 41 41 #include <linux/pci.h> 42 42 #include <linux/dma-mapping.h> 43 43 #include <linux/inet.h>
+1 -1
drivers/media/v4l2-core/videobuf-dma-sg.c
··· 21 21 #include <linux/init.h> 22 22 #include <linux/module.h> 23 23 #include <linux/moduleparam.h> 24 - #include <linux/sched.h> 24 + #include <linux/sched/mm.h> 25 25 #include <linux/slab.h> 26 26 #include <linux/interrupt.h> 27 27
+1 -1
fs/binfmt_misc.c
··· 12 12 #include <linux/kernel.h> 13 13 #include <linux/module.h> 14 14 #include <linux/init.h> 15 - #include <linux/sched.h> 15 + #include <linux/sched/mm.h> 16 16 #include <linux/magic.h> 17 17 #include <linux/binfmts.h> 18 18 #include <linux/slab.h>
+1 -1
fs/kernfs/file.c
··· 13 13 #include <linux/slab.h> 14 14 #include <linux/poll.h> 15 15 #include <linux/pagemap.h> 16 - #include <linux/sched.h> 16 + #include <linux/sched/mm.h> 17 17 #include <linux/fsnotify.h> 18 18 19 19 #include "kernfs-internal.h"
+1
include/drm/drm_mm.h
··· 40 40 #include <linux/bug.h> 41 41 #include <linux/rbtree.h> 42 42 #include <linux/kernel.h> 43 + #include <linux/mm_types.h> 43 44 #include <linux/list.h> 44 45 #include <linux/spinlock.h> 45 46 #ifdef CONFIG_DRM_DEBUG_MM
+1
include/linux/init_task.h
··· 15 15 #include <linux/sched/autogroup.h> 16 16 #include <net/net_namespace.h> 17 17 #include <linux/sched/rt.h> 18 + #include <linux/mm_types.h> 18 19 19 20 #include <asm/thread_info.h> 20 21
+1
include/linux/sched/mm.h
··· 2 2 #define _LINUX_SCHED_MM_H 3 3 4 4 #include <linux/sched.h> 5 + #include <linux/mm_types.h> 5 6 #include <linux/gfp.h> 6 7 7 8 #endif /* _LINUX_SCHED_MM_H */
+1 -1
kernel/sched/debug.c
··· 11 11 */ 12 12 13 13 #include <linux/proc_fs.h> 14 - #include <linux/sched.h> 14 + #include <linux/sched/mm.h> 15 15 #include <linux/seq_file.h> 16 16 #include <linux/kallsyms.h> 17 17 #include <linux/utsname.h>
+1 -1
kernel/sched/fair.c
··· 20 20 * Copyright (C) 2007 Red Hat, Inc., Peter Zijlstra 21 21 */ 22 22 23 - #include <linux/sched.h> 23 + #include <linux/sched/mm.h> 24 24 #include <linux/sched/topology.h> 25 25 26 26 #include <linux/latencytop.h>
+1 -1
kernel/signal.c
··· 13 13 #include <linux/slab.h> 14 14 #include <linux/export.h> 15 15 #include <linux/init.h> 16 - #include <linux/sched.h> 16 + #include <linux/sched/mm.h> 17 17 #include <linux/sched/user.h> 18 18 #include <linux/sched/debug.h> 19 19 #include <linux/sched/task.h>
+1
lib/is_single_threaded.c
··· 10 10 * 2 of the Licence, or (at your option) any later version. 11 11 */ 12 12 #include <linux/sched/signal.h> 13 + #include <linux/sched/mm.h> 13 14 14 15 /* 15 16 * Returns true if the task does not share ->mm with another thread/process.