Skip to contentSkip to conversation

make register_page_bootmem_info_section() static

PATCH In review Adrian Bunk 2 participants 2 messages Jun 25, 2008 – Jun 26, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 make register_page_bootmem_info_section() static

This patch makes the needlessly global
register_page_bootmem_info_section() static.

---

This patch has been sent on:
- 5 May 2008

070dc3db481a222a79755b6a06fb300f022ff56e diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c index b3fd604..6a9a28a 100644

mm/memory_hotplug.c +1 -1
@@ -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;
Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines

This patch makes the needlessly global
register_page_bootmem_info_section() static.

Ah, yes. Thanks!

Quoted 19 lines

---

This patch has been sent on:
- 5 May 2008

070dc3db481a222a79755b6a06fb300f022ff56e diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c index b3fd604..6a9a28a 100644

mm/memory_hotplug.c +1 -1
@@ -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;
Signature · 1 line
Yasunori Goto