remove #ifdef declaration of npxproc, use globals.s and the extern always.
This commit is contained in:
parent
73bab2a5a5
commit
9bbb2f39aa
@ -32,7 +32,7 @@
|
|||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* from: @(#)npx.c 7.2 (Berkeley) 5/12/91
|
* 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"
|
#include "npx.h"
|
||||||
@ -148,10 +148,6 @@ SYSCTL_INT(_hw,HW_FLOATINGPT, floatingpoint,
|
|||||||
|
|
||||||
static u_int npx0_imask = SWI_CLOCK_MASK;
|
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_ex16;
|
||||||
static bool_t npx_exists;
|
static bool_t npx_exists;
|
||||||
static struct gate_descriptor npx_idt_probeintr;
|
static struct gate_descriptor npx_idt_probeintr;
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* from: @(#)npx.c 7.2 (Berkeley) 5/12/91
|
* 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"
|
#include "npx.h"
|
||||||
@ -148,10 +148,6 @@ SYSCTL_INT(_hw,HW_FLOATINGPT, floatingpoint,
|
|||||||
|
|
||||||
static u_int npx0_imask = SWI_CLOCK_MASK;
|
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_ex16;
|
||||||
static bool_t npx_exists;
|
static bool_t npx_exists;
|
||||||
static struct gate_descriptor npx_idt_probeintr;
|
static struct gate_descriptor npx_idt_probeintr;
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* from: @(#)npx.c 7.2 (Berkeley) 5/12/91
|
* 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"
|
#include "npx.h"
|
||||||
@ -148,10 +148,6 @@ SYSCTL_INT(_hw,HW_FLOATINGPT, floatingpoint,
|
|||||||
|
|
||||||
static u_int npx0_imask = SWI_CLOCK_MASK;
|
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_ex16;
|
||||||
static bool_t npx_exists;
|
static bool_t npx_exists;
|
||||||
static struct gate_descriptor npx_idt_probeintr;
|
static struct gate_descriptor npx_idt_probeintr;
|
||||||
|
Loading…
Reference in New Issue
Block a user