]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
s390/kprobes,ptrace: open code struct per_reg
authorHeiko Carstens <hca@linux.ibm.com>
Mon, 11 Sep 2023 19:40:02 +0000 (21:40 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Tue, 19 Sep 2023 11:26:56 +0000 (13:26 +0200)
commit4b440e01da51da0cc651c06a036b8914b7b61ccf
tree1561e8c910fc4e383a1b10242e6f1c8c03ee5736
parent80725978260ff823e1c442e75d66cf1b61684bba
s390/kprobes,ptrace: open code struct per_reg

Open code struct per_regs within kprobes and ptrace code, since at both
locations a struct per_regs is passed to __local_ctl_load() and
__local_ctl_store() which prevents to implement type checking for both
functions.

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>
arch/s390/kernel/kprobes.c
arch/s390/kernel/ptrace.c