mm: remove CONFIG_HAVE_MEMBLOCK_NODE_MAP option
[sfrench/cifs-2.6.git] / arch / alpha / mm / numa.c
index d0b73371e985ce70a5d7f0845b14911f2a1d62cb..a24cd13e71cbfd9d7330a20fd8fcbfe91db35dc0 100644 (file)
@@ -144,8 +144,8 @@ setup_memory_node(int nid, void *kernel_end)
        if (!nid && (node_max_pfn < end_kernel_pfn || node_min_pfn > start_kernel_pfn))
                panic("kernel loaded out of ram");
 
-       memblock_add(PFN_PHYS(node_min_pfn),
-                    (node_max_pfn - node_min_pfn) << PAGE_SHIFT);
+       memblock_add_node(PFN_PHYS(node_min_pfn),
+                         (node_max_pfn - node_min_pfn) << PAGE_SHIFT, nid);
 
        /* Zone start phys-addr must be 2^(MAX_ORDER-1) aligned.
           Note that we round this down, not up - node memory