diff options
Diffstat (limited to 'arch/i386/mm/init.c')
-rw-r--r-- | arch/i386/mm/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/mm/init.c b/arch/i386/mm/init.c index bf19513f0cea..468592531793 100644 --- a/arch/i386/mm/init.c +++ b/arch/i386/mm/init.c | |||
@@ -654,7 +654,7 @@ void __init mem_init(void) | |||
654 | */ | 654 | */ |
655 | #ifdef CONFIG_MEMORY_HOTPLUG | 655 | #ifdef CONFIG_MEMORY_HOTPLUG |
656 | #ifndef CONFIG_NEED_MULTIPLE_NODES | 656 | #ifndef CONFIG_NEED_MULTIPLE_NODES |
657 | int add_memory(u64 start, u64 size) | 657 | int arch_add_memory(int nid, u64 start, u64 size) |
658 | { | 658 | { |
659 | struct pglist_data *pgdata = &contig_page_data; | 659 | struct pglist_data *pgdata = &contig_page_data; |
660 | struct zone *zone = pgdata->node_zones + MAX_NR_ZONES-1; | 660 | struct zone *zone = pgdata->node_zones + MAX_NR_ZONES-1; |