diff mbox series

[v1] arm: mm: make arch_mmap_rnd() static

Message ID 20190607135815.43418-1-zhangjinghai99@gmail.com (mailing list archive)
State New, archived
Headers show
Series [v1] arm: mm: make arch_mmap_rnd() static | expand

Commit Message

zhangjinghai99@gmail.com June 7, 2019, 1:58 p.m. UTC
From: JingHai Zhang <zhangjinghai99@gmail.com>

arch_mmap_rnd() is only used in mmap.c, make it static.

Signed-off-by: JingHai Zhang <zhangjinghai99@gmail.com>
---
 arch/arm/mm/mmap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/arch/arm/mm/mmap.c b/arch/arm/mm/mmap.c
index f866870db749..0a7a046fcd90 100644
--- a/arch/arm/mm/mmap.c
+++ b/arch/arm/mm/mmap.c
@@ -171,7 +171,7 @@  arch_get_unmapped_area_topdown(struct file *filp, const unsigned long addr0,
 	return addr;
 }
 
-unsigned long arch_mmap_rnd(void)
+static unsigned long arch_mmap_rnd(void)
 {
 	unsigned long rnd;