]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
s390/thread_info: Cleanup header includes
authorHeiko Carstens <hca@linux.ibm.com>
Fri, 9 May 2025 13:42:47 +0000 (15:42 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Sat, 17 May 2025 08:55:00 +0000 (10:55 +0200)
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>
arch/s390/include/asm/thread_info.h

index 1a44c8fac9ffa16f5a8d736a60e3b24c6294655b..391eb04d26d81b47766fcacb9d86203e8e922983 100644 (file)
@@ -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