diff options
author | H. Peter Anvin <hpa@zytor.com> | 2010-05-11 00:37:16 +0400 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2010-05-11 00:37:16 +0400 |
commit | c3f8978ea332cd4be88e12574452a025892ac9af (patch) | |
tree | 8a673afd732fb5d2e57cbb7e60006184cee84bf5 /arch/x86/math-emu/fpu_system.h | |
parent | 86603283326c9e95e5ad4e9fdddeec93cac5d9ad (diff) | |
download | linux-c3f8978ea332cd4be88e12574452a025892ac9af.tar.xz |
x86, fpu: Unbreak FPU emulation
Unbreak FPU emulation, broken by checkin
86603283326c9e95e5ad4e9fdddeec93cac5d9ad:
x86: Introduce 'struct fpu' and related API
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Cc: Avi Kivity <avi@redhat.com>
Cc: Suresh Siddha <suresh.b.siddha@intel.com>
LKML-Reference: <1273135546-29690-3-git-send-email-avi@redhat.com>
Diffstat (limited to 'arch/x86/math-emu/fpu_system.h')
-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 50fa0ec2c8a5..2c614410a5f3 100644 --- a/arch/x86/math-emu/fpu_system.h +++ b/arch/x86/math-emu/fpu_system.h @@ -31,7 +31,7 @@ #define SEG_EXPAND_DOWN(s) (((s).b & ((1 << 11) | (1 << 10))) \ == (1 << 10)) -#define I387 (current->thread.xstate) +#define I387 (current->thread.fpu.state) #define FPU_info (I387->soft.info) #define FPU_CS (*(unsigned short *) &(FPU_info->regs->cs)) |