aboutsummaryrefslogtreecommitdiffstats
path: root/mm/memory_hotplug.c
diff options
context:
space:
mode:
authorKeith Mannthey <kmannth@us.ibm.com>2006-10-01 02:27:04 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-01 03:39:18 -0400
commitf28c5edc06ecd8068b38b7662ad19f4d20d741af (patch)
tree4582acbf62b7a484b62b69e3f465cf4d069f7e2a /mm/memory_hotplug.c
parent236561e5df009f79f1939e3ca269b9b6f18092f5 (diff)
[PATCH] hot-add-mem x86_64: fixup externs
Fix up externs in memory_hotplug.c. Cleanup. Signed-off-by: Keith Mannthey <kmannth@us.ibm.com> Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: Andi Kleen <ak@muc.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/memory_hotplug.c')
-rw-r--r--mm/memory_hotplug.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c
index 2053bb165a21..63b14d4f68fb 100644
--- a/mm/memory_hotplug.c
+++ b/mm/memory_hotplug.c
@@ -26,8 +26,6 @@
26 26
27#include <asm/tlbflush.h> 27#include <asm/tlbflush.h>
28 28
29extern void zonetable_add(struct zone *zone, int nid, int zid, unsigned long pfn,
30 unsigned long size);
31static int __add_zone(struct zone *zone, unsigned long phys_start_pfn) 29static int __add_zone(struct zone *zone, unsigned long phys_start_pfn)
32{ 30{
33 struct pglist_data *pgdat = zone->zone_pgdat; 31 struct pglist_data *pgdat = zone->zone_pgdat;
@@ -47,8 +45,6 @@ static int __add_zone(struct zone *zone, unsigned long phys_start_pfn)
47 return 0; 45 return 0;
48} 46}
49 47
50extern int sparse_add_one_section(struct zone *zone, unsigned long start_pfn,
51 int nr_pages);
52static int __add_section(struct zone *zone, unsigned long phys_start_pfn) 48static int __add_section(struct zone *zone, unsigned long phys_start_pfn)
53{ 49{
54 int nr_pages = PAGES_PER_SECTION; 50 int nr_pages = PAGES_PER_SECTION;