diff options
| author | Bruce Evans <bde@FreeBSD.org> | 2000-10-12 13:02:13 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 2000-10-12 13:02:13 +0000 |
| commit | 1676212c30bf9d65b7893b1a8eab69275fe6c0fe (patch) | |
| tree | 8b7958253610cfdc73c2f7d4280dbc8a114abb55 | |
| parent | 35c8e6411c68bec947cd020d59246535ba4adb4d (diff) | |
Notes
| -rw-r--r-- | sys/i386/include/globals.h | 6 | ||||
| -rw-r--r-- | sys/sys/proc.h | 1 |
2 files changed, 5 insertions, 2 deletions
diff --git a/sys/i386/include/globals.h b/sys/i386/include/globals.h index d18c0acd5a03..f5479e4a449d 100644 --- a/sys/i386/include/globals.h +++ b/sys/i386/include/globals.h @@ -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) diff --git a/sys/sys/proc.h b/sys/sys/proc.h index 03bb2b6c1368..1390d4076083 100644 --- a/sys/sys/proc.h +++ b/sys/sys/proc.h @@ -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 |
