Eliminate a couple of evil common declarations.
This commit is contained in:
parent
3c40b9af61
commit
7c263c5bb0
@ -57,6 +57,7 @@ struct evcnt clock_intr_evcnt; /* event counter for clock intrs. */
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
volatile int mc_expected, mc_received;
|
volatile int mc_expected, mc_received;
|
||||||
|
u_int32_t intr_nesting_level;
|
||||||
|
|
||||||
static void
|
static void
|
||||||
dummy_perf(unsigned long vector, struct trapframe *framep)
|
dummy_perf(unsigned long vector, struct trapframe *framep)
|
||||||
|
@ -68,6 +68,7 @@
|
|||||||
#include <ddb/ddb.h>
|
#include <ddb/ddb.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
u_int32_t want_resched;
|
||||||
u_int32_t astpending;
|
u_int32_t astpending;
|
||||||
struct proc *fpcurproc; /* current user of the FPU */
|
struct proc *fpcurproc; /* current user of the FPU */
|
||||||
|
|
||||||
|
@ -92,8 +92,8 @@ struct clockframe {
|
|||||||
#define aston() (astpending = 1)
|
#define aston() (astpending = 1)
|
||||||
|
|
||||||
#ifdef _KERNEL
|
#ifdef _KERNEL
|
||||||
u_int32_t intr_nesting_level; /* bookeeping only; counts software intr */
|
extern u_int32_t intr_nesting_level; /* bookeeping only; counts sw intrs */
|
||||||
u_int32_t want_resched; /* resched() was called */
|
extern u_int32_t want_resched; /* resched() was called */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user