remove #ifdef declaration of npxproc, use globals.s and the extern always.
This commit is contained in:
parent
e8b4f186cd
commit
fa1ef19485
@ -32,7 +32,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)npx.c 7.2 (Berkeley) 5/12/91
|
||||
* $Id: npx.c,v 1.56 1998/02/12 21:41:10 bde Exp $
|
||||
* $Id: npx.c,v 1.57 1998/02/15 06:25:26 bde Exp $
|
||||
*/
|
||||
|
||||
#include "npx.h"
|
||||
@ -148,10 +148,6 @@ SYSCTL_INT(_hw,HW_FLOATINGPT, floatingpoint,
|
||||
|
||||
static u_int npx0_imask = SWI_CLOCK_MASK;
|
||||
|
||||
#ifndef SMP /* XXX per-cpu on smp */
|
||||
struct proc *npxproc;
|
||||
#endif
|
||||
|
||||
static bool_t npx_ex16;
|
||||
static bool_t npx_exists;
|
||||
static struct gate_descriptor npx_idt_probeintr;
|
||||
|
@ -32,7 +32,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)npx.c 7.2 (Berkeley) 5/12/91
|
||||
* $Id: npx.c,v 1.56 1998/02/12 21:41:10 bde Exp $
|
||||
* $Id: npx.c,v 1.57 1998/02/15 06:25:26 bde Exp $
|
||||
*/
|
||||
|
||||
#include "npx.h"
|
||||
@ -148,10 +148,6 @@ SYSCTL_INT(_hw,HW_FLOATINGPT, floatingpoint,
|
||||
|
||||
static u_int npx0_imask = SWI_CLOCK_MASK;
|
||||
|
||||
#ifndef SMP /* XXX per-cpu on smp */
|
||||
struct proc *npxproc;
|
||||
#endif
|
||||
|
||||
static bool_t npx_ex16;
|
||||
static bool_t npx_exists;
|
||||
static struct gate_descriptor npx_idt_probeintr;
|
||||
|
@ -32,7 +32,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)npx.c 7.2 (Berkeley) 5/12/91
|
||||
* $Id: npx.c,v 1.56 1998/02/12 21:41:10 bde Exp $
|
||||
* $Id: npx.c,v 1.57 1998/02/15 06:25:26 bde Exp $
|
||||
*/
|
||||
|
||||
#include "npx.h"
|
||||
@ -148,10 +148,6 @@ SYSCTL_INT(_hw,HW_FLOATINGPT, floatingpoint,
|
||||
|
||||
static u_int npx0_imask = SWI_CLOCK_MASK;
|
||||
|
||||
#ifndef SMP /* XXX per-cpu on smp */
|
||||
struct proc *npxproc;
|
||||
#endif
|
||||
|
||||
static bool_t npx_ex16;
|
||||
static bool_t npx_exists;
|
||||
static struct gate_descriptor npx_idt_probeintr;
|
||||
|
Loading…
Reference in New Issue
Block a user