]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit84199383d08afd084318546eb050a336dde28b36
tree5f2aa9740d8a8dae078cade30935e59b94fb6497
parent2b920bc04ca0a6c29a1cc25e95e97291edd0ba14
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