Messages in this thread Patch in this message | | | From | Joe Damato <> | Subject | [PATCH 02/12] x86: Use new gate_struct for gate_desc | Date | Fri, 24 Oct 2008 20:15:22 -0700 |
| |
Change the gate_desc typedef to use the new gate_struct.
Signed-off-by: Joe Damato <ice799@gmail.com> --- include/asm-x86/desc_defs.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/asm-x86/desc_defs.h b/include/asm-x86/desc_defs.h index 68abda4..012df1f 100644 --- a/include/asm-x86/desc_defs.h +++ b/include/asm-x86/desc_defs.h @@ -72,7 +72,7 @@ typedef struct ldttss_desc64 tss_desc; #define gate_offset(g) ((g).offset_low | ((unsigned long)(g).offset_middle << 16) | ((unsigned long)(g).offset_high << 32)) #define gate_segment(g) ((g).segment) #else -typedef struct desc_struct gate_desc; +typedef struct gate_struct gate_desc; typedef struct desc_struct ldt_desc; typedef struct desc_struct tss_desc; #define gate_offset(g) (((g).b & 0xffff0000) | ((g).a & 0x0000ffff)) -- 1.5.4.3
| |