|
@@ -46,8 +46,9 @@ void foo(void)
|
|
|
OFFSET(saved_context_gdt_desc, saved_context, gdt_desc);
|
|
|
BLANK();
|
|
|
|
|
|
- /* Offset from the sysenter stack to tss.sp0 */
|
|
|
- DEFINE(TSS_sysenter_sp0, offsetof(struct cpu_entry_area, tss.x86_tss.sp0) -
|
|
|
+ /* Offset from the entry stack to task stack stored in TSS */
|
|
|
+ DEFINE(TSS_entry2task_stack,
|
|
|
+ offsetof(struct cpu_entry_area, tss.x86_tss.sp0) -
|
|
|
offsetofend(struct cpu_entry_area, entry_stack_page.stack));
|
|
|
|
|
|
#ifdef CONFIG_STACKPROTECTOR
|