summaryrefslogtreecommitdiff
path: root/security/min_addr.c
diff options
context:
space:
mode:
authorH Hartley Sweeten <hartleys@visionengravers.com>2009-12-16 02:05:12 +0300
committerJames Morris <jmorris@namei.org>2009-12-17 01:24:22 +0300
commitdd880fbe8e4792d1185a5101dc751f49eab0a509 (patch)
treec72673ed9e20c1967becd4118c77476406370d05 /security/min_addr.c
parentfa1cc7b5a5c4171dfdcac855428295340ccf87ec (diff)
downloadlinux-dd880fbe8e4792d1185a5101dc751f49eab0a509.tar.xz
security/min_addr.c: make init_mmap_min_addr() static
init_mmap_min_addr() is a pure_initcall and should be static. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security/min_addr.c')
-rw-r--r--security/min_addr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/min_addr.c b/security/min_addr.c
index fc43c9d37084..e86f297522bf 100644
--- a/security/min_addr.c
+++ b/security/min_addr.c
@@ -43,7 +43,7 @@ int mmap_min_addr_handler(struct ctl_table *table, int write,
return ret;
}
-int __init init_mmap_min_addr(void)
+static int __init init_mmap_min_addr(void)
{
update_mmap_min_addr();