[PATCH] pgdat allocation for new node add (specify node id)
[firefly-linux-kernel-4.4.55.git] / arch / i386 / mm / init.c
index bf19513f0cea227126407b0e22cbb0bf614fa7b3..4685925317939b0a0db56d4f1c9c823c11d22534 100644 (file)
@@ -654,7 +654,7 @@ void __init mem_init(void)
  */
 #ifdef CONFIG_MEMORY_HOTPLUG
 #ifndef CONFIG_NEED_MULTIPLE_NODES
-int add_memory(u64 start, u64 size)
+int arch_add_memory(int nid, u64 start, u64 size)
 {
        struct pglist_data *pgdata = &contig_page_data;
        struct zone *zone = pgdata->node_zones + MAX_NR_ZONES-1;