s390/asm-offsets: Include ftrace_regs.h instead of ftrace.h
authorHeiko Carstens <hca@linux.ibm.com>
Fri, 21 Mar 2025 12:22:13 +0000 (13:22 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Mon, 31 Mar 2025 10:20:39 +0000 (12:20 +0200)
commit5eeec5694514527e509028520b0d356eb58a2f50
treeeebc23383e96a6f43a0f7af530d1802c1f131a8c
parentd104937874216421f29dd54e6df93cbb994bc100
s390/asm-offsets: Include ftrace_regs.h instead of ftrace.h

Reduce header dependencies by including ftrace_regs.h and ptrace.h,
which does not include other header files, instead of ftrace.h which
pulls in various other header files.

This is sufficient for __FTRACE_REGS_PT_REGS and __FTRACE_REGS_SIZE.

Acked-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/kernel/asm-offsets.c