]> git.baikalelectronics.ru Git - kernel.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)
commit5a87674596fc434a50394d249bb2a2ce6f513a1d
treea2913982c5d1ac465924c8e1632737d78dca8405
parent35131dd3fe0f2b81576559385b7fb5f609fb101c
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