diff options
author | Yang Shi <yang.shi@linaro.org> | 2016-05-04 14:14:27 -0400 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2016-05-05 04:49:38 -0400 |
commit | 394bf2f24834352f461cb139eb8e00af26d5f51a (patch) | |
tree | 37b8121930d9e27411df25ee555995ff31d83480 | |
parent | 2326df551b137dd88652b54016905e13579b7a25 (diff) |
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 <yang.shi@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
-rw-r--r-- | arch/arm64/mm/mmap.c | 2 |
1 files changed, 0 insertions, 2 deletions
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) | |||
95 | mm->get_unmapped_area = arch_get_unmapped_area_topdown; | 95 | mm->get_unmapped_area = arch_get_unmapped_area_topdown; |
96 | } | 96 | } |
97 | } | 97 | } |
98 | EXPORT_SYMBOL_GPL(arch_pick_mmap_layout); | ||
99 | |||
100 | 98 | ||
101 | /* | 99 | /* |
102 | * You really shouldn't be using read() or write() on /dev/mem. This might go | 100 | * You really shouldn't be using read() or write() on /dev/mem. This might go |