* [PATCH v1] arm: mm: make arch_mmap_rnd() static
@ 2019-06-07 13:58 zhangjinghai99
0 siblings, 0 replies; only message in thread
From: zhangjinghai99 @ 2019-06-07 13:58 UTC (permalink / raw)
To: linux, akpm, rppt, vladimir.murzin, tglx, ebiederm, f.fainelli
Cc: 21cnbao, linux-kernel, linux-arm-kernel, JingHai Zhang
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 --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
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2019-06-07 13:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-07 13:58 [PATCH v1] arm: mm: make arch_mmap_rnd() static zhangjinghai99
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).