s390/mm: always use PAGE_KERNEL when mapping pages
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Thu, 19 May 2016 14:25:30 +0000 (16:25 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 13 Jun 2016 13:58:14 +0000 (15:58 +0200)
commit3e76ee99b095e5bee71165fda5edbe6b66b39700
tree48a2b24b6fee363593b53d0d568b20a7e3a62401
parent5aa29975e81851b7d48cb79c0c95d95360bfd9a6
s390/mm: always use PAGE_KERNEL when mapping pages

Always use PAGE_KERNEL when re-enabling pages within the kernel
mapping due to debug pagealloc. Without using this pgprot value
pte_mkwrite() and pte_wrprotect() won't work on such mappings after an
unmap -> map cycle anymore.

Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Acked-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/mm/pageattr.c