diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2012-10-04 17:02:02 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2012-10-09 14:16:59 +0200 |
commit | 8fe234d3c8d66771b327accb8eef26f70a8a8db8 (patch) | |
tree | b8dc843924f66162ccdcbd77a1e245ee9b72b490 /arch/s390/kernel/head64.S | |
parent | s390/mm: add page table dumper (diff) | |
download | linux-8fe234d3c8d66771b327accb8eef26f70a8a8db8.tar.xz linux-8fe234d3c8d66771b327accb8eef26f70a8a8db8.zip |
s390/mm: fix mapping of read-only kernel text section
Within the identity mapping the kernel text section is mapped read-only.
However when mapping the first and last page of the text section we must
round upwards and downwards respectively, if only parts of a page belong
to the section.
Otherwise potential rw data can be mapped read-only. So the rounding must
be done just the other way we have it right now.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/head64.S')
0 files changed, 0 insertions, 0 deletions