diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2025-05-09 16:42:47 +0300 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2025-05-17 11:55:00 +0300 |
commit | 5c4a8632e86aa68514eef9480b0b838d1aa3f24a (patch) | |
tree | 3f02a6742643b30a73e50e5b59e68af46eed522d | |
parent | 38988c35b7f57a18db1ebc8494cc1fb17c2e7b41 (diff) | |
download | linux-5c4a8632e86aa68514eef9480b0b838d1aa3f24a.tar.xz |
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 <hca@linux.ibm.com>
-rw-r--r-- | arch/s390/include/asm/thread_info.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/s390/include/asm/thread_info.h b/arch/s390/include/asm/thread_info.h index 1a44c8fac9ff..391eb04d26d8 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 <linux/bits.h> +#include <vdso/page.h> /* * General size of kernel stacks @@ -24,8 +25,6 @@ #define STACK_INIT_OFFSET (THREAD_SIZE - STACK_FRAME_OVERHEAD - __PT_SIZE) #ifndef __ASSEMBLY__ -#include <asm/lowcore.h> -#include <asm/page.h> /* * low level task data that entry.S needs immediate access to |