mm/huge_memory.c: make __thp_get_unmapped_area static
authorBharath Vedartham <linux.bhar@gmail.com>
Tue, 14 May 2019 00:23:17 +0000 (17:23 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Jan 2020 07:21:32 +0000 (08:21 +0100)
commit4765814bc1869fac17192f9b77e0e57bed3b8c27
tree08165297b8ef6a3f3cd32ad6ec3c345027399812
parent140e63d7fc48fb751fe73ca6be5d39d650cf3a43
mm/huge_memory.c: make __thp_get_unmapped_area static

[ Upstream commit b3b07077b01ecbbd98efede778c195567de25b71 ]

__thp_get_unmapped_area is only used in mm/huge_memory.c.  Make it static.
Tested by building and booting the kernel.

Link: http://lkml.kernel.org/r/20190504102353.GA22525@bharath12345-Inspiron-5559
Signed-off-by: Bharath Vedartham <linux.bhar@gmail.com>
Acked-by: Michal Hocko <mhocko@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
mm/huge_memory.c