]> www.infradead.org Git - users/dwmw2/linux.git/commit
s390/asm-offsets: Remove ASM_OFFSETS_C
authorHeiko Carstens <hca@linux.ibm.com>
Fri, 21 Mar 2025 12:22:14 +0000 (13:22 +0100)
committerVasily Gorbik <gor@linux.ibm.com>
Mon, 31 Mar 2025 10:20:39 +0000 (12:20 +0200)
commitb9be1bee2f271ed3c68e0bd3ec099951b656447b
tree33eb0c7e84f01b676ebcba2ad90bb40d2de98b88
parent5eeec5694514527e509028520b0d356eb58a2f50
s390/asm-offsets: Remove ASM_OFFSETS_C

Remove ASM_OFFSETS_C which is used as guard in thread_info.h to decide if
asm-offsets can be included or not.

There is no reason to include asm-offsets.h in thread_info.h anymore.
Remove the define and the not needed include. Explicitly include
asm-offsets.h in all header files which require it, and where it used
to be included implicitly via thread_info.h.

This reduces header dependencies.

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/include/asm/thread_info.h
arch/s390/kernel/asm-offsets.c
arch/s390/kernel/dumpstack.c
arch/s390/kernel/early.c
arch/s390/kernel/stacktrace.c
arch/s390/mm/pfault.c