projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1819ed1
)
s390/mm: ignore change bit for vmemmap
author
Heiko Carstens
<heiko.carstens@de.ibm.com>
Sat, 16 Feb 2013 11:42:35 +0000
(12:42 +0100)
committer
Martin Schwidefsky
<schwidefsky@de.ibm.com>
Thu, 28 Feb 2013 08:37:06 +0000
(09:37 +0100)
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>
arch/s390/mm/vmem.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/s390/mm/vmem.c
b/arch/s390/mm/vmem.c
index e21aaf4f5cb6a75eb09982f9aad752918b3d0776..ffab84db69071f3ea24e0a446889bcc2036414f2 100644
(file)
--- 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)
if (!new_page)
goto out;
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;
continue;
}