sched/headers: Prepare for new header dependencies before moving more code to <linux...
authorIngo Molnar <mingo@kernel.org>
Wed, 8 Feb 2017 17:51:31 +0000 (18:51 +0100)
committerIngo Molnar <mingo@kernel.org>
Thu, 2 Mar 2017 07:42:30 +0000 (08:42 +0100)
commit010426079ec1228a7f980d2eef766a84c0f9241a
tree082916126b96021e1481c508dbca1ffdf2c6eded
parent55687da166bf51129ed6b110d7711f4c7560abe2
sched/headers: Prepare for new header dependencies before moving more code to <linux/sched/mm.h>

We are going to split more MM APIs out of <linux/sched.h>, which
will have to be picked up from a couple of .c files.

The APIs that we are going to move are:

  arch_pick_mmap_layout()
  arch_get_unmapped_area()
  arch_get_unmapped_area_topdown()
  mm_update_next_owner()

Include the header in the files that are going to need it.

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>
22 files changed:
arch/alpha/kernel/osf_sys.c
arch/arc/mm/mmap.c
arch/arm/mm/mmap.c
arch/arm64/mm/mmap.c
arch/frv/mm/elf-fdpic.c
arch/ia64/kernel/sys_ia64.c
arch/mips/mm/mmap.c
arch/parisc/kernel/cache.c
arch/parisc/kernel/sys_parisc.c
arch/parisc/mm/hugetlbpage.c
arch/powerpc/mm/mmap.c
arch/s390/mm/mmap.c
arch/sh/mm/mmap.c
arch/sparc/kernel/sys_sparc_32.c
arch/sparc/kernel/sys_sparc_64.c
arch/sparc/mm/hugetlbpage.c
arch/tile/mm/hugetlbpage.c
arch/tile/mm/mmap.c
arch/x86/kernel/sys_x86_64.c
arch/x86/mm/hugetlbpage.c
arch/x86/mm/mmap.c
arch/xtensa/kernel/syscall.c