]> git.karo-electronics.de Git - linux-beck.git/commit
s390/vmem: simplify vmem code for read-only mappings
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Tue, 10 May 2016 14:28:28 +0000 (16:28 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Mon, 13 Jun 2016 13:58:16 +0000 (15:58 +0200)
commitbab247ff5f669216e3ed2f9a4034c540187e874c
treea2913982c5d1ac465924c8e1632737d78dca8405
parente8a97e42dc986a081017b1e77e3a3c7f02a0a638
s390/vmem: simplify vmem code for read-only mappings

For the kernel identity mapping map everything read-writeable and
subsequently call set_memory_ro() to make the ro section read-only.
This simplifies the code a lot.

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/vmem.c