X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=arch%2Fx86%2Fkernel%2Fasm-offsets_32.c;h=c4f23da7a0f0a23ab33dc5c57e756b3d11d684ea;hb=785be108f90cd62eab2da17490714085ef752538;hp=d09b161a3bd0a31a5867965cbf4f9e314626b799;hpb=a308af33c794110c52427ad11d3a6d35ffc14b76;p=mirror_ubuntu-artful-kernel.git diff --git a/arch/x86/kernel/asm-offsets_32.c b/arch/x86/kernel/asm-offsets_32.c index d09b161a3bd0..c4f23da7a0f0 100644 --- a/arch/x86/kernel/asm-offsets_32.c +++ b/arch/x86/kernel/asm-offsets_32.c @@ -49,8 +49,8 @@ void foo(void) BLANK(); /* Offset from the sysenter stack to tss.sp0 */ - DEFINE(TSS_sysenter_sp0, offsetof(struct tss_struct, x86_tss.sp0) - - offsetofend(struct tss_struct, SYSENTER_stack)); + DEFINE(TSS_sysenter_sp0, offsetof(struct cpu_entry_area, tss.x86_tss.sp0) - + offsetofend(struct cpu_entry_area, SYSENTER_stack_page.stack)); #ifdef CONFIG_CC_STACKPROTECTOR BLANK();