s390/kprobes: Remove custom insn slot allocator
authorHeiko Carstens <hca@linux.ibm.com>
Wed, 15 May 2024 12:52:21 +0000 (14:52 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Thu, 16 May 2024 08:31:32 +0000 (10:31 +0200)
commitd890e6af50e44cf49766b3d25a45586d8485ef08
tree4972731712e56029605ce1489269c1e2437f7c30
parente7dec0b7926f3cd493c697c4c389df77e8e8a34c
s390/kprobes: Remove custom insn slot allocator

Since commit c98d2ecae08f ("s390/mm: Uncouple physical vs virtual address
spaces") the kernel image and module area are within the same 4GB area.

This eliminates the need of a custom insn slot allocator for kprobes within
the kernel image, since standard module_alloc() allocated pages are
sufficient for PC relative instructions with a signed 32 bit offset.

Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/kernel/Makefile
arch/s390/kernel/kprobes.c
arch/s390/kernel/kprobes.h [deleted file]
arch/s390/kernel/kprobes_insn_page.S [deleted file]