powerpc/mm: Pass node id into create_section_mapping
[linux-2.6-block.git] / arch / powerpc / mm / pgtable-book3s64.c
index 422e80253a3336380a4a42b3c72783ff447c3077..c736280068cea16d7d34d8d0cdfacb320ea74ed8 100644 (file)
@@ -155,12 +155,12 @@ void mmu_cleanup_all(void)
 }
 
 #ifdef CONFIG_MEMORY_HOTPLUG
-int create_section_mapping(unsigned long start, unsigned long end)
+int create_section_mapping(unsigned long start, unsigned long end, int nid)
 {
        if (radix_enabled())
-               return radix__create_section_mapping(start, end);
+               return radix__create_section_mapping(start, end, nid);
 
-       return hash__create_section_mapping(start, end);
+       return hash__create_section_mapping(start, end, nid);
 }
 
 int remove_section_mapping(unsigned long start, unsigned long end)