s390/extable: sort amode31 extable early
authorHeiko Carstens <hca@linux.ibm.com>
Mon, 28 Feb 2022 09:45:43 +0000 (10:45 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Mon, 7 Mar 2022 23:33:00 +0000 (00:33 +0100)
commita156f09c9063bc6c11502fc49a6d006489f25eb3
tree863705257aebe7a819f6d7dbbe7ad5ffd4e78b80
parent9d792ef17f18734bca823910b89254dec37b50c5
s390/extable: sort amode31 extable early

The early program check handler is active before the amode31 extable
is sorted. Therefore in case a program check happens early within the
amode31 code the extable entry might not be found.

Fix this by sorting the amode31 extable early.

Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/kernel/early.c
arch/s390/kernel/traps.c