Messages in this thread Patch in this message | | | From | KOSAKI Motohiro <> | Subject | [PATCH] mm: make init_section_page_cgroup() static | Date | Tue, 25 Nov 2008 13:24:58 +0900 (JST) |
| |
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> --- mm/page_cgroup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Index: b/mm/page_cgroup.c =================================================================== --- a/mm/page_cgroup.c 2008-11-05 01:11:45.000000000 +0900 +++ b/mm/page_cgroup.c 2008-11-22 22:24:06.000000000 +0900 @@ -97,7 +97,7 @@ struct page_cgroup *lookup_page_cgroup(s return section->page_cgroup + pfn; } -int __meminit init_section_page_cgroup(unsigned long pfn) +static int __meminit init_section_page_cgroup(unsigned long pfn) { struct mem_section *section; struct page_cgroup *base, *pc;
| |