s390: make extables read-only
authorVasily Gorbik <gor@linux.ibm.com>
Tue, 28 Mar 2023 08:00:33 +0000 (10:00 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Tue, 4 Apr 2023 16:34:55 +0000 (18:34 +0200)
commitb46650d56bd31dca8b09b5670ee9441a8f7b8869
tree202660e628d8be3b2dd35360c8658409a5656a95
parent385bf43c48ffe44af881039779a6be09ac8a77c8
s390: make extables read-only

Currently, exception tables are marked as ro_after_init. However,
since they are sorted during compile time using scripts/sorttable,
they can be moved to RO_DATA using the RO_EXCEPTION_TABLE_ALIGN macro,
which is specifically designed for this purpose.

Suggested-by: Heiko Carstens <hca@linux.ibm.com>
Reviewed-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/kernel/vmlinux.lds.S