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

From: zhangjinghai99
Date: Fri Jun 07 2019 - 10:03:05 EST


From: JingHai Zhang <zhangjinghai99@xxxxxxxxx>

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

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

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;

--
2.17.1