diff options
Diffstat (limited to 'arch/x86/include/asm/processor.h')
-rw-r--r-- | arch/x86/include/asm/processor.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/x86/include/asm/processor.h b/arch/x86/include/asm/processor.h index 9f748b5fb701..e34f95129f16 100644 --- a/arch/x86/include/asm/processor.h +++ b/arch/x86/include/asm/processor.h | |||
@@ -948,6 +948,12 @@ extern unsigned long thread_saved_pc(struct task_struct *tsk); | |||
948 | 948 | ||
949 | #define task_pt_regs(tsk) ((struct pt_regs *)(tsk)->thread.sp0 - 1) | 949 | #define task_pt_regs(tsk) ((struct pt_regs *)(tsk)->thread.sp0 - 1) |
950 | extern unsigned long KSTK_ESP(struct task_struct *task); | 950 | extern unsigned long KSTK_ESP(struct task_struct *task); |
951 | |||
952 | /* | ||
953 | * User space RSP while inside the SYSCALL fast path | ||
954 | */ | ||
955 | DECLARE_PER_CPU(unsigned long, old_rsp); | ||
956 | |||
951 | #endif /* CONFIG_X86_64 */ | 957 | #endif /* CONFIG_X86_64 */ |
952 | 958 | ||
953 | extern void start_thread(struct pt_regs *regs, unsigned long new_ip, | 959 | extern void start_thread(struct pt_regs *regs, unsigned long new_ip, |