mm: remove shmem_mapping() shmem_zero_setup() duplicates
authorHugh Dickins <[email protected]>
Fri, 24 Feb 2017 22:59:36 +0000 (14:59 -0800)
committerLinus Torvalds <[email protected]>
Sat, 25 Feb 2017 01:46:56 +0000 (17:46 -0800)
commit3a4f8a0b3ffa733ffbb327685e83b63383127cf6
treeac3fcbbb7f03d70d18949885e860a7bf4da40d6f
parente02dc017c3032dcdce1b993af0db135462e1b4b7
mm: remove shmem_mapping() shmem_zero_setup() duplicates

Remove the prototypes for shmem_mapping() and shmem_zero_setup() from
linux/mm.h, since they are already provided in linux/shmem_fs.h.  But
shmem_fs.h must then provide the inline stub for shmem_mapping() when
CONFIG_SHMEM is not set, and a few more cfiles now need to #include it.

Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Hugh Dickins <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Michal Simek <[email protected]>
Cc: Michael Ellerman <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
arch/microblaze/pci/pci-common.c
arch/powerpc/kernel/pci-common.c
include/linux/mm.h
include/linux/shmem_fs.h
mm/madvise.c
mm/memcontrol.c
mm/mincore.c
mm/truncate.c
mm/workingset.c