]> 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)
commitadce533dbcfa8e5b5bf76096e32e4485123f7b50
tree863705257aebe7a819f6d7dbbe7ad5ffd4e78b80
parent8280e3edd0d553ff8ee71b118b875722e91d400b
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