From: Yang Shi Date: Wed, 4 May 2016 18:14:27 +0000 (-0700) Subject: arm64: mm: remove unnecessary EXPORT_SYMBOL_GPL X-Git-Tag: v4.7-rc1~180^2~8 X-Git-Url: https://git.kernelconcepts.de/?a=commitdiff_plain;h=394bf2f24834352f461cb139eb8e00af26d5f51a;p=karo-tx-linux.git arm64: mm: remove unnecessary EXPORT_SYMBOL_GPL arch_pick_mmap_layout is only called by fs/exec.c which is always built into kernel, it looks the EXPORT_SYMBOL_GPL is pointless and no architectures export it other than ARM64. Signed-off-by: Yang Shi Signed-off-by: Will Deacon --- diff --git a/arch/arm64/mm/mmap.c b/arch/arm64/mm/mmap.c index 232f787a088a..01c171723bb3 100644 --- a/arch/arm64/mm/mmap.c +++ b/arch/arm64/mm/mmap.c @@ -95,8 +95,6 @@ void arch_pick_mmap_layout(struct mm_struct *mm) mm->get_unmapped_area = arch_get_unmapped_area_topdown; } } -EXPORT_SYMBOL_GPL(arch_pick_mmap_layout); - /* * You really shouldn't be using read() or write() on /dev/mem. This might go