* [PATCH] arm64: mm: remove unnecessary EXPORT_SYMBOL_GPL
@ 2016-05-04 18:14 Yang Shi
0 siblings, 0 replies; only message in thread
From: Yang Shi @ 2016-05-04 18:14 UTC (permalink / raw)
To: linux-arm-kernel
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>
---
arch/arm64/mm/mmap.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/arm64/mm/mmap.c b/arch/arm64/mm/mmap.c
index 232f787..01c1717 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
--
2.0.2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-05-04 18:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-04 18:14 [PATCH] arm64: mm: remove unnecessary EXPORT_SYMBOL_GPL Yang Shi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).