From: Glauber de Oliveira Costa Date: Wed, 30 Jan 2008 12:31:13 +0000 (+0100) Subject: x86: provide tss_desc X-Git-Tag: v2.6.25-rc1~1143^2~602 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18245d5b6e54ca76b60b687e43eb893f9e9dd611;p=linux-2.6 x86: provide tss_desc Provide a new type, tss_desc, to represent the tss descriptor in a unified way accross x86_64 and i386 Signed-off-by: Glauber de Oliveira Costa Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- diff --git a/include/asm-x86/desc_defs.h b/include/asm-x86/desc_defs.h index 09ea052434..c811f1e082 100644 --- a/include/asm-x86/desc_defs.h +++ b/include/asm-x86/desc_defs.h @@ -70,9 +70,11 @@ struct ldttss_desc64 { #ifdef CONFIG_X86_64 typedef struct gate_struct64 gate_desc; typedef struct ldttss_desc64 ldt_desc; +typedef struct ldttss_desc64 tss_desc; #else typedef struct desc_struct gate_desc; typedef struct desc_struct ldt_desc; +typedef struct desc_struct tss_desc; #endif struct desc_ptr {