diff options
author | Kees Cook <keescook@chromium.org> | 2016-03-17 07:45:33 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2016-03-17 08:18:25 -0400 |
commit | df9ceff906abf5edc284c11ac899b3b3f32b4dd3 (patch) | |
tree | 0e108cac2847b64b8924f3c01b4b7529404d292b /arch/s390 | |
parent | 59a9ed5f87b6e396aed1f6bf7d6496f7ba66c37a (diff) |
s390: disable postinit-readonly for now
This is a temporary fix to let lkdtm run again on s390, though it'll
still fail the ro_after_init tests. Until rodata and ro_after_init
sections can be split on s390, disable special handling of ro_after_init.
Signed-off-by: Kees Cook <keescook@chromium.org>
Reported-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390')
-rw-r--r-- | arch/s390/include/asm/cache.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/s390/include/asm/cache.h b/arch/s390/include/asm/cache.h index 4d7ccac5fd1d..22da3b34c655 100644 --- a/arch/s390/include/asm/cache.h +++ b/arch/s390/include/asm/cache.h | |||
@@ -15,4 +15,7 @@ | |||
15 | 15 | ||
16 | #define __read_mostly __attribute__((__section__(".data..read_mostly"))) | 16 | #define __read_mostly __attribute__((__section__(".data..read_mostly"))) |
17 | 17 | ||
18 | /* Read-only memory is marked before mark_rodata_ro() is called. */ | ||
19 | #define __ro_after_init __read_mostly | ||
20 | |||
18 | #endif | 21 | #endif |