diff options
author | jhb <jhb@FreeBSD.org> | 2010-10-25 15:31:13 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2010-10-25 15:31:13 +0000 |
commit | 9bbda5d7a46e0dabfbb339800c78393dac8a28f9 (patch) | |
tree | d54b850663f4bfd90fc51ff14a0bdbcad3be37f5 /sys/i386/isa | |
parent | 5979f73be6079303e602db1898bf020384382503 (diff) | |
download | FreeBSD-src-9bbda5d7a46e0dabfbb339800c78393dac8a28f9.zip FreeBSD-src-9bbda5d7a46e0dabfbb339800c78393dac8a28f9.tar.gz |
Use 'saveintr' instead of 'savecrit' or 'eflags' to hold the state returned
by intr_disable().
Requested by: bde
Diffstat (limited to 'sys/i386/isa')
-rw-r--r-- | sys/i386/isa/npx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/i386/isa/npx.c b/sys/i386/isa/npx.c index 72a6aa8..f8dc11c 100644 --- a/sys/i386/isa/npx.c +++ b/sys/i386/isa/npx.c @@ -343,7 +343,7 @@ void npxinit(void) { static union savefpu dummy; - register_t savecrit; + register_t saveintr; u_short control; if (!hw_float) @@ -355,7 +355,7 @@ npxinit(void) * * It is too early for critical_enter() to work on AP. */ - savecrit = intr_disable(); + saveintr = intr_disable(); npxsave(&dummy); stop_emulating(); #ifdef CPU_ENABLE_SSE @@ -366,7 +366,7 @@ npxinit(void) control = __INITIAL_NPXCW__; fldcw(control); start_emulating(); - intr_restore(savecrit); + intr_restore(saveintr); } /* |