diff options
Diffstat (limited to 'arch/s390/include/asm/thread_info.h')
| -rw-r--r-- | arch/s390/include/asm/thread_info.h | 10 | 
1 files changed, 5 insertions, 5 deletions
| diff --git a/arch/s390/include/asm/thread_info.h b/arch/s390/include/asm/thread_info.h index b2ffcb4fe000..c7c97921ed8d 100644 --- a/arch/s390/include/asm/thread_info.h +++ b/arch/s390/include/asm/thread_info.h @@ -9,6 +9,9 @@  #define _ASM_THREAD_INFO_H  #include <linux/bits.h> +#ifndef ASM_OFFSETS_C +#include <asm/asm-offsets.h> +#endif  /*   * General size of kernel stacks @@ -21,13 +24,12 @@  #define BOOT_STACK_SIZE (PAGE_SIZE << 2)  #define THREAD_SIZE (PAGE_SIZE << THREAD_SIZE_ORDER) +#define STACK_INIT_OFFSET (THREAD_SIZE - STACK_FRAME_OVERHEAD - __PT_SIZE) +  #ifndef __ASSEMBLY__  #include <asm/lowcore.h>  #include <asm/page.h> -#define STACK_INIT_OFFSET \ -	(THREAD_SIZE - STACK_FRAME_OVERHEAD - sizeof(struct pt_regs)) -  /*   * low level task data that entry.S needs immediate access to   * - this struct should fit entirely inside of one cache line @@ -70,7 +72,6 @@ void arch_setup_new_exec(void);  #define TIF_PATCH_PENDING	5	/* pending live patching update */  #define TIF_PGSTE		6	/* New mm's will use 4K page tables */  #define TIF_NOTIFY_SIGNAL	7	/* signal notifications exist */ -#define TIF_ISOLATE_BP		8	/* Run process with isolated BP */  #define TIF_ISOLATE_BP_GUEST	9	/* Run KVM guests with isolated BP */  #define TIF_PER_TRAP		10	/* Need to handle PER trap on exit to usermode */ @@ -94,7 +95,6 @@ void arch_setup_new_exec(void);  #define _TIF_UPROBE		BIT(TIF_UPROBE)  #define _TIF_GUARDED_STORAGE	BIT(TIF_GUARDED_STORAGE)  #define _TIF_PATCH_PENDING	BIT(TIF_PATCH_PENDING) -#define _TIF_ISOLATE_BP		BIT(TIF_ISOLATE_BP)  #define _TIF_ISOLATE_BP_GUEST	BIT(TIF_ISOLATE_BP_GUEST)  #define _TIF_PER_TRAP		BIT(TIF_PER_TRAP) | 
