]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
arm64: mm: remove unnecessary EXPORT_SYMBOL_GPL
authorYang Shi <yang.shi@linaro.org>
Wed, 4 May 2016 18:14:27 +0000 (11:14 -0700)
committerWill Deacon <will.deacon@arm.com>
Thu, 5 May 2016 08:49:38 +0000 (09:49 +0100)
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 <yang.shi@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/mm/mmap.c

index 232f787a088ae8e992c52cba450159a43a900174..01c171723bb33ba9660246778e703d66a82e1641 100644 (file)
@@ -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