From: KOSAKI Motohiro Date: Tue, 6 Jan 2009 22:39:43 +0000 (-0800) Subject: mm: make init_section_page_cgroup() static X-Git-Tag: v2.6.29-rc1~441 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=feb166948876e2ff8f70b2da273b2a8e86957578;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/mm/page_cgroup.c b/mm/page_cgroup.c index ab27ff75051..d6507a660ed 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;