|
@@ -236,7 +236,8 @@ int __meminit vmemmap_populate(struct page *start, unsigned long nr, int node)
|
|
if (!new_page)
|
|
if (!new_page)
|
|
goto out;
|
|
goto out;
|
|
pmd_val(*pm_dir) = __pa(new_page) |
|
|
pmd_val(*pm_dir) = __pa(new_page) |
|
|
- _SEGMENT_ENTRY | _SEGMENT_ENTRY_LARGE;
|
|
|
|
|
|
+ _SEGMENT_ENTRY | _SEGMENT_ENTRY_LARGE |
|
|
|
|
+ _SEGMENT_ENTRY_CO;
|
|
address = (address + PMD_SIZE) & PMD_MASK;
|
|
address = (address + PMD_SIZE) & PMD_MASK;
|
|
continue;
|
|
continue;
|
|
}
|
|
}
|