[v1] arm: mm: make arch_mmap_rnd() static
diff mbox series

Message ID 20190607135815.43418-1-zhangjinghai99@gmail.com
State New
Headers show
Series
  • [v1] arm: mm: make arch_mmap_rnd() static
Related show

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(-)

Patch
diff mbox series

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;