mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=67014
@ -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