diff options
Diffstat (limited to 'include/asm-x86/desc_defs.h')
-rw-r--r-- | include/asm-x86/desc_defs.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-x86/desc_defs.h b/include/asm-x86/desc_defs.h index 79fe59fc50ec..ebb64fe3a450 100644 --- a/include/asm-x86/desc_defs.h +++ b/include/asm-x86/desc_defs.h | |||
@@ -48,9 +48,9 @@ struct gate_struct64 { | |||
48 | u32 zero1; | 48 | u32 zero1; |
49 | } __attribute__((packed)); | 49 | } __attribute__((packed)); |
50 | 50 | ||
51 | #define PTR_LOW(x) ((unsigned long)(x) & 0xFFFF) | 51 | #define PTR_LOW(x) ((unsigned long long)(x) & 0xFFFF) |
52 | #define PTR_MIDDLE(x) (((unsigned long)(x) >> 16) & 0xFFFF) | 52 | #define PTR_MIDDLE(x) (((unsigned long long)(x) >> 16) & 0xFFFF) |
53 | #define PTR_HIGH(x) ((unsigned long)(x) >> 32) | 53 | #define PTR_HIGH(x) ((unsigned long long)(x) >> 32) |
54 | 54 | ||
55 | enum { | 55 | enum { |
56 | DESC_TSS = 0x9, | 56 | DESC_TSS = 0x9, |