Moved the declaration of astpending to the correct place.

This shouldn't affect the alpha or ia64, since they don't have a
variable named astpending.  The alpha still has 2 declarations of
this nonexistent variable.
This commit is contained in:
Bruce Evans 2000-10-12 13:02:13 +00:00
parent 35c8e6411c
commit 1676212c30
2 changed files with 5 additions and 2 deletions

View File

@ -122,7 +122,11 @@ _global_globaldata(void)
#define witness_spin_check GLOBAL_RVALUE(witness_spin_check, int)
#endif /*UP kernel*/
#else /* !(SMP || KLD_MODULE) */
extern u_int astpending;
#endif /* SMP || KLD_MODULE */
GLOBAL_FUNC(curproc)
GLOBAL_FUNC(astpending)

View File

@ -452,7 +452,6 @@ extern u_long pgrphash;
extern struct proc *curproc; /* Current running proc. */
extern struct proc *prevproc; /* Previously running proc. */
extern struct proc *idleproc; /* Current idle proc. */
extern u_int astpending; /* software interrupt pending */
extern int switchticks; /* `ticks' at last context switch. */
extern struct timeval switchtime; /* Uptime at last context switch */
#endif