OSDN Git Service

powerpc/mm: thread pgprot_t through create_section_mapping()
[tomoyo/tomoyo-test1.git] / arch / powerpc / mm / book3s64 / pgtable.c
index 2bf7e1b..e0bb69c 100644 (file)
@@ -171,12 +171,13 @@ void mmu_cleanup_all(void)
 }
 
 #ifdef CONFIG_MEMORY_HOTPLUG
-int __meminit create_section_mapping(unsigned long start, unsigned long end, int nid)
+int __meminit create_section_mapping(unsigned long start, unsigned long end,
+                                    int nid, pgprot_t prot)
 {
        if (radix_enabled())
-               return radix__create_section_mapping(start, end, nid);
+               return radix__create_section_mapping(start, end, nid, prot);
 
-       return hash__create_section_mapping(start, end, nid);
+       return hash__create_section_mapping(start, end, nid, prot);
 }
 
 int __meminit remove_section_mapping(unsigned long start, unsigned long end)