diff options
Diffstat (limited to 'sys/amd64/isa')
-rw-r--r-- | sys/amd64/isa/npx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/isa/npx.c b/sys/amd64/isa/npx.c index f6410e9..bb1f74b 100644 --- a/sys/amd64/isa/npx.c +++ b/sys/amd64/isa/npx.c @@ -601,8 +601,8 @@ npxexit(p) if (npx_exists) { u_int masked_exceptions; - masked_exceptions = PCPU_GET(curpcb)->pcb_savefpu.sv_env.en_cw - & PCPU_GET(curpcb)->pcb_savefpu.sv_env.en_sw & 0x7f; + masked_exceptions = PCPU_GET(curpcb)->pcb_save.sv_87.sv_env.en_cw + & PCPU_GET(curpcb)->pcb_save.sv_87.sv_env.en_sw & 0x7f; /* * Log exceptions that would have trapped with the old * control word (overflow, divide by 0, and invalid operand). |