diff options
-rw-r--r-- | include/asm-i386/desc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-i386/desc.h b/include/asm-i386/desc.h index 5db9e96e8dc1..5874ef119ffd 100644 --- a/include/asm-i386/desc.h +++ b/include/asm-i386/desc.h | |||
@@ -46,7 +46,7 @@ static inline void pack_descriptor(__u32 *a, __u32 *b, | |||
46 | { | 46 | { |
47 | *a = ((base & 0xffff) << 16) | (limit & 0xffff); | 47 | *a = ((base & 0xffff) << 16) | (limit & 0xffff); |
48 | *b = (base & 0xff000000) | ((base & 0xff0000) >> 16) | | 48 | *b = (base & 0xff000000) | ((base & 0xff0000) >> 16) | |
49 | ((type & 0xff) << 8) | ((flags & 0xf) << 12); | 49 | (limit & 0x000f0000) | ((type & 0xff) << 8) | ((flags & 0xf) << 20); |
50 | } | 50 | } |
51 | 51 | ||
52 | static inline void pack_gate(__u32 *a, __u32 *b, | 52 | static inline void pack_gate(__u32 *a, __u32 *b, |