]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit06aa3ed0f2ba7ae0ab5c906500b51e42845d6bce
tree863705257aebe7a819f6d7dbbe7ad5ffd4e78b80
parentc1f6790868fe889b5f43d6b08c6b7a74fd6880cf
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