summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-07-24 06:28:12 +0200
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-24 19:47:21 +0200
commitd92bc318547507a944a22e7ef936793dc0fe167f (patch)
tree6c1406734048b3ea710de744389c2db07db8983c
parentmm/page_alloc.c: cleanups (diff)
downloadlinux-d92bc318547507a944a22e7ef936793dc0fe167f.tar.xz
linux-d92bc318547507a944a22e7ef936793dc0fe167f.zip
mm: make register_page_bootmem_info_section() static
Make the needlessly global register_page_bootmem_info_section() static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Acked-by: Yasunori Goto <y-goto@jp.fujitsu.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
-rw-r--r--mm/memory_hotplug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c
index 6e26adc08f14..ec85c37dcfb9 100644
--- a/mm/memory_hotplug.c
+++ b/mm/memory_hotplug.c
@@ -86,7 +86,7 @@ void put_page_bootmem(struct page *page)
}
-void register_page_bootmem_info_section(unsigned long start_pfn)
+static void register_page_bootmem_info_section(unsigned long start_pfn)
{
unsigned long *usemap, mapsize, section_nr, i;
struct mem_section *ms;