diff options
Diffstat (limited to 'sys/i386/isa/npx.c')
-rw-r--r-- | sys/i386/isa/npx.c | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/sys/i386/isa/npx.c b/sys/i386/isa/npx.c index 2ec330a..bb2b879 100644 --- a/sys/i386/isa/npx.c +++ b/sys/i386/isa/npx.c @@ -32,7 +32,7 @@ * SUCH DAMAGE. * * from: @(#)npx.c 7.2 (Berkeley) 5/12/91 - * $Id: npx.c,v 1.61 1998/06/21 18:02:39 bde Exp $ + * $Id: npx.c,v 1.62 1998/10/22 05:58:40 bde Exp $ */ #include "npx.h" @@ -146,15 +146,17 @@ SYSCTL_INT(_hw,HW_FLOATINGPT, floatingpoint, CTLFLAG_RD, &hw_float, 0, "Floatingpoint instructions executed in hardware"); -static u_int npx0_imask = SWI_CLOCK_MASK; +#ifndef SMP +static u_int npx0_imask = SWI_CLOCK_MASK; +static struct gate_descriptor npx_idt_probeintr; +static volatile u_int npx_intrs_while_probing; +static volatile u_int npx_traps_while_probing; +#endif static bool_t npx_ex16; static bool_t npx_exists; -static struct gate_descriptor npx_idt_probeintr; static int npx_intrno; -static volatile u_int npx_intrs_while_probing; static bool_t npx_irq13; -static volatile u_int npx_traps_while_probing; #ifndef SMP /* @@ -249,8 +251,10 @@ static int npxprobe1(dvp) struct isa_device *dvp; { +#ifndef SMP u_short control; u_short status; +#endif /* * Partially reset the coprocessor, if any. Some BIOS's don't reset |