]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - arch/x86/kernel/asm-offsets_32.c
x86/entry/64: Allocate and enable the SYSENTER stack
[mirror_ubuntu-artful-kernel.git] / arch / x86 / kernel / asm-offsets_32.c
index 880aa093268df7a0d7db23abde984647880c47cc..d09b161a3bd0a31a5867965cbf4f9e314626b799 100644 (file)
@@ -52,11 +52,6 @@ void foo(void)
        DEFINE(TSS_sysenter_sp0, offsetof(struct tss_struct, x86_tss.sp0) -
               offsetofend(struct tss_struct, SYSENTER_stack));
 
-       /* Offset from cpu_tss to SYSENTER_stack */
-       OFFSET(CPU_TSS_SYSENTER_stack, tss_struct, SYSENTER_stack);
-       /* Size of SYSENTER_stack */
-       DEFINE(SIZEOF_SYSENTER_stack, sizeof(((struct tss_struct *)0)->SYSENTER_stack));
-
 #ifdef CONFIG_CC_STACKPROTECTOR
        BLANK();
        OFFSET(stack_canary_offset, stack_canary, canary);