summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorKOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>2009-01-06 23:39:43 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2009-01-07 00:59:04 +0100
commitfeb166948876e2ff8f70b2da273b2a8e86957578 (patch)
tree7d076f061531f42c9ca42f1565b7ce59fc30b4d6 /mm
parentmemcg: reclaim shouldn't change zone->recent_rotated statistics (diff)
downloadlinux-feb166948876e2ff8f70b2da273b2a8e86957578.tar.xz
linux-feb166948876e2ff8f70b2da273b2a8e86957578.zip
mm: make init_section_page_cgroup() static
Sparse output following warning. mm/page_cgroup.c:100:15: warning: symbol 'init_section_page_cgroup' was not declared. Should it be static? cleanup here. Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r--mm/page_cgroup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/page_cgroup.c b/mm/page_cgroup.c
index ab27ff750519..d6507a660ed6 100644
--- a/mm/page_cgroup.c
+++ b/mm/page_cgroup.c
@@ -101,7 +101,7 @@ struct page_cgroup *lookup_page_cgroup(struct page *page)
}
/* __alloc_bootmem...() is protected by !slab_available() */
-int __init_refok init_section_page_cgroup(unsigned long pfn)
+static int __init_refok init_section_page_cgroup(unsigned long pfn)
{
struct mem_section *section;
struct page_cgroup *base, *pc;