diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2016-03-17 12:47:12 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2016-03-17 13:18:25 +0100 |
commit | 91d37211769510ae0b4747045d8f81d3b9dd4278 (patch) | |
tree | 0e28a601b13c837111e41e64dafafea2a3bca93e /firmware/vicam | |
parent | df9ceff906abf5edc284c11ac899b3b3f32b4dd3 (diff) |
s390: add DEBUG_RODATA support
git commit d2aa1acad22f ("mm/init: Add 'rodata=off' boot cmdline
parameter to disable read-only kernel mappings") adds a bogus warning
to the console which states that s390 does not support kernel memory
protection.
This however is not true. We do support that since a couple of years
however in a different way than the author of the above named patch
expected.
To get rid of the misleading message implement the mark_rodata_ro
function and emit a message which states the amount of memory which
was write protected already earlier.
This is the same what parisc currently does.
We currently do not support the kernel parameter "rodata=off" which
would allow to write to the rodata section again. However since we
have this feature since years without any problems there is no reason
to add support for this.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'firmware/vicam')
0 files changed, 0 insertions, 0 deletions