Commit feb166948876e2ff8f70b2da273b2a8e86957578

Authored by KOSAKI Motohiro
Committed by Linus Torvalds
1 parent 077cbc5864

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -101,7 +101,7 @@
101 101 }
102 102  
103 103 /* __alloc_bootmem...() is protected by !slab_available() */
104   -int __init_refok init_section_page_cgroup(unsigned long pfn)
  104 +static int __init_refok init_section_page_cgroup(unsigned long pfn)
105 105 {
106 106 struct mem_section *section;
107 107 struct page_cgroup *base, *pc;