s390/extable: convert to relative table with data
authorHeiko Carstens <hca@linux.ibm.com>
Mon, 28 Feb 2022 13:52:42 +0000 (14:52 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Mon, 7 Mar 2022 23:33:00 +0000 (00:33 +0100)
commit3d66718cd62d45f3210f047248eab9e76d227e47
tree5f2aa9740d8a8dae078cade30935e59b94fb6497
parent46fee16f571250d6cef74af73ffd47512da981a2
s390/extable: convert to relative table with data

Follow arm64, riscv, and x86 and change extable layout to common
"relative table with data". This allows to get rid of s390 specific
code in sorttable.c.

The main difference to before is that extable entries do not contain a
relative function pointer anymore. Instead data and type fields are
added.

The type field is used to indicate which exception handler needs to be
called, while the data field is currently unused.

Acked-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>
arch/s390/include/asm/asm-extable.h
arch/s390/include/asm/extable.h
arch/s390/mm/extable.c
arch/s390/net/bpf_jit_comp.c
scripts/sorttable.c