Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 18245d5b authored by Glauber de Oliveira Costa's avatar Glauber de Oliveira Costa Committed by Ingo Molnar
Browse files

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: default avatarGlauber de Oliveira Costa <gcosta@redhat.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 80fbb69a
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -70,9 +70,11 @@ struct ldttss_desc64 {
#ifdef CONFIG_X86_64
#ifdef CONFIG_X86_64
typedef struct gate_struct64 gate_desc;
typedef struct gate_struct64 gate_desc;
typedef struct ldttss_desc64 ldt_desc;
typedef struct ldttss_desc64 ldt_desc;
typedef struct ldttss_desc64 tss_desc;
#else
#else
typedef struct desc_struct gate_desc;
typedef struct desc_struct gate_desc;
typedef struct desc_struct ldt_desc;
typedef struct desc_struct ldt_desc;
typedef struct desc_struct tss_desc;
#endif
#endif


struct desc_ptr {
struct desc_ptr {