diff options
Diffstat (limited to 'arch/x86/math-emu')
-rw-r--r-- | arch/x86/math-emu/fpu_system.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/math-emu/fpu_system.h b/arch/x86/math-emu/fpu_system.h index 2319a257ec32..699f329f1d40 100644 --- a/arch/x86/math-emu/fpu_system.h +++ b/arch/x86/math-emu/fpu_system.h @@ -49,7 +49,7 @@ static inline unsigned long seg_get_base(struct desc_struct *d) static inline unsigned long seg_get_limit(struct desc_struct *d) { - return ((unsigned long)d->limit << 16) | d->limit0; + return ((unsigned long)d->limit1 << 16) | d->limit0; } static inline unsigned long seg_get_granularity(struct desc_struct *d) |