aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2013-02-16 06:42:35 -0500
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2013-02-28 03:37:06 -0500
commit17ea345a474925ad0da2ad5a8791cd5443301667 (patch)
tree5b9d0c659eed1d632016aaf2c13c765f13823a01
parent1819ed1f06ade476b701ff764e6cd84a36aee8de (diff)
s390/mm: ignore change bit for vmemmap
Add hint to the page tables that we don't care about the change bit in storage keys that belong to vmemmap pages. Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
-rw-r--r--arch/s390/mm/vmem.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/s390/mm/vmem.c b/arch/s390/mm/vmem.c
index e21aaf4f5cb6..ffab84db6907 100644
--- a/arch/s390/mm/vmem.c
+++ b/arch/s390/mm/vmem.c
@@ -236,7 +236,8 @@ int __meminit vmemmap_populate(struct page *start, unsigned long nr, int node)
236 if (!new_page) 236 if (!new_page)
237 goto out; 237 goto out;
238 pmd_val(*pm_dir) = __pa(new_page) | 238 pmd_val(*pm_dir) = __pa(new_page) |
239 _SEGMENT_ENTRY | _SEGMENT_ENTRY_LARGE; 239 _SEGMENT_ENTRY | _SEGMENT_ENTRY_LARGE |
240 _SEGMENT_ENTRY_CO;
240 address = (address + PMD_SIZE) & PMD_MASK; 241 address = (address + PMD_SIZE) & PMD_MASK;
241 continue; 242 continue;
242 } 243 }