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 <[email protected]> --- 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 3bfb7d9..d4ae70d 100644 --- a/include/asm-x86/desc_defs.h +++ b/include/asm-x86/desc_defs.h @@ -80,9 +80,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 { -- 1.4.4.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- [PATCH 17/19] unify paravirt pieces of descriptor handling
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 17/19] unify paravirt pieces of descriptor handling
- References:
- [PATCH 0/19] desc_struct integration
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 1/19] unify desc_struct
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 2/19] unify struct desc_ptr
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 3/19] change gdt acessor macro name
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 4/19] removed unused variable
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 5/19] introduce gate_desc type.
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 6/19] change write_idt_entry signature
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 7/19] introduce ldt_desc type.
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 8/19] modify write_ldt function
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 9/19] introduce fill_ldt
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 10/19] change write_gdt_entry signature.
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 11/19] change write_ldt_entry signature
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 12/19] move constants to desc_defs.h
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 13/19] unify non-paravirt parts of desc.h
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 14/19] use the same data type for tls_array.
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 15/19] modify get_desc_base
- From: Glauber de Oliveira Costa <[email protected]>
- [PATCH 0/19] desc_struct integration
- Prev by Date: [PATCH 14/19] use the same data type for tls_array.
- Next by Date: [PATCH 17/19] unify paravirt pieces of descriptor handling
- Previous by thread: [PATCH 15/19] modify get_desc_base
- Next by thread: [PATCH 17/19] unify paravirt pieces of descriptor handling
- Index(es):