Skip to content

Commit 5c4a863

Browse files
committed
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 <[email protected]>
1 parent 38988c3 commit 5c4a863

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

arch/s390/include/asm/thread_info.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#define _ASM_THREAD_INFO_H
1010

1111
#include <linux/bits.h>
12+
#include <vdso/page.h>
1213

1314
/*
1415
* General size of kernel stacks
@@ -24,8 +25,6 @@
2425
#define STACK_INIT_OFFSET (THREAD_SIZE - STACK_FRAME_OVERHEAD - __PT_SIZE)
2526

2627
#ifndef __ASSEMBLY__
27-
#include <asm/lowcore.h>
28-
#include <asm/page.h>
2928

3029
/*
3130
* low level task data that entry.S needs immediate access to

0 commit comments

Comments
 (0)