From: Heiko Carstens Date: Fri, 9 May 2025 13:42:47 +0000 (+0200) Subject: s390/thread_info: Cleanup header includes X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=5c4a8632e86aa68514eef9480b0b838d1aa3f24a;p=users%2Fdwmw2%2Flinux.git s390/thread_info: Cleanup header includes asm/thread_info.h requires PAGE_SIZE, which is defined in vdso/page.h, but doesn't need to include asm/lowcore.h or asm/page.h. Therefore change the includes accordingly and reduce header dependencies. Signed-off-by: Heiko Carstens --- diff --git a/arch/s390/include/asm/thread_info.h b/arch/s390/include/asm/thread_info.h index 1a44c8fac9ffa..391eb04d26d81 100644 --- a/arch/s390/include/asm/thread_info.h +++ b/arch/s390/include/asm/thread_info.h @@ -9,6 +9,7 @@ #define _ASM_THREAD_INFO_H #include +#include /* * General size of kernel stacks @@ -24,8 +25,6 @@ #define STACK_INIT_OFFSET (THREAD_SIZE - STACK_FRAME_OVERHEAD - __PT_SIZE) #ifndef __ASSEMBLY__ -#include -#include /* * low level task data that entry.S needs immediate access to