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:
parent
35c8e6411c
commit
1676212c30
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user