diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2007-02-05 21:18:41 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2007-02-05 21:18:41 +0100 |
commit | 162e006ef59266b9ebf34e3d15ca1f3d9ee956d7 (patch) | |
tree | d7f1b61fbe822e71867bd04ee4ee7f3f1cd20842 /include/asm-s390 | |
parent | [S390] Convert memory detection into C code. (diff) | |
download | linux-162e006ef59266b9ebf34e3d15ca1f3d9ee956d7.tar.xz linux-162e006ef59266b9ebf34e3d15ca1f3d9ee956d7.zip |
[S390] Mark kernel text section read-only.
Set read-only flag in the page table entries for the kernel image text
section. This will catch all instruction caused corruptions withing the
text section.
Instruction replacement via kprobes still works, since it bypasses now
dynamic address translation.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'include/asm-s390')
-rw-r--r-- | include/asm-s390/sections.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-s390/sections.h b/include/asm-s390/sections.h index 3a0b8ffeab7a..1c5a2c4ccdad 100644 --- a/include/asm-s390/sections.h +++ b/include/asm-s390/sections.h @@ -3,4 +3,6 @@ #include <asm-generic/sections.h> +extern char _eshared[]; + #endif |