diff options
author | Glauber de Oliveira Costa <gcosta@redhat.com> | 2008-01-30 07:31:13 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-01-30 07:31:13 -0500 |
commit | 18245d5b6e54ca76b60b687e43eb893f9e9dd611 (patch) | |
tree | 5a426d82244f2fe60de63ee5cfcf4ceb77a26666 /include/asm-x86/desc_defs.h | |
parent | 80fbb69a8d1268ef48dfe21da80e68cb01922f31 (diff) |
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 <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-x86/desc_defs.h')
-rw-r--r-- | include/asm-x86/desc_defs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-x86/desc_defs.h b/include/asm-x86/desc_defs.h index 09ea05243497..c811f1e0829f 100644 --- a/include/asm-x86/desc_defs.h +++ b/include/asm-x86/desc_defs.h | |||
@@ -70,9 +70,11 @@ struct ldttss_desc64 { | |||
70 | #ifdef CONFIG_X86_64 | 70 | #ifdef CONFIG_X86_64 |
71 | typedef struct gate_struct64 gate_desc; | 71 | typedef struct gate_struct64 gate_desc; |
72 | typedef struct ldttss_desc64 ldt_desc; | 72 | typedef struct ldttss_desc64 ldt_desc; |
73 | typedef struct ldttss_desc64 tss_desc; | ||
73 | #else | 74 | #else |
74 | typedef struct desc_struct gate_desc; | 75 | typedef struct desc_struct gate_desc; |
75 | typedef struct desc_struct ldt_desc; | 76 | typedef struct desc_struct ldt_desc; |
77 | typedef struct desc_struct tss_desc; | ||
76 | #endif | 78 | #endif |
77 | 79 | ||
78 | struct desc_ptr { | 80 | struct desc_ptr { |