Files
linux-rockchip/arch/s390/include/asm
Heiko Carstens 8b20c1999d s390/extable: fix exception table sorting
commit c194dad210 upstream.

s390 has a swap_ex_entry_fixup function, however it is not being used
since common code expects a swap_ex_entry_fixup define. If it is not
defined the default implementation will be used. So fix this by adding
a proper define.
However also the implementation of the function must be fixed, since a
NULL value for handler has a special meaning and must not be adjusted.

Luckily all of this doesn't fix a real bug currently: the main extable
is correctly sorted during build time, and for runtime sorting there
is currently no case where the handler field is not NULL.

Fixes: 05a68e892e ("s390/kernel: expand exception table logic to allow new handling options")
Acked-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-03-08 19:09:36 +01:00
..
2020-08-26 18:47:21 +02:00
2020-08-11 18:16:43 +02:00
2020-06-23 09:16:48 +02:00
2019-06-19 17:54:27 +02:00
2020-01-30 13:07:55 +01:00
2020-02-27 16:02:21 +01:00
2020-06-29 16:32:09 +02:00
2021-10-27 09:56:56 +02:00
2021-07-14 16:56:42 +02:00
2020-09-14 11:38:35 +02:00
2020-09-26 15:51:21 +02:00
2020-06-29 16:32:14 +02:00
2020-10-09 23:45:30 +02:00
2019-07-23 10:45:53 +02:00
2020-09-30 12:09:54 +02:00