summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>2000-10-12 13:02:13 +0000
committerBruce Evans <bde@FreeBSD.org>2000-10-12 13:02:13 +0000
commit1676212c30bf9d65b7893b1a8eab69275fe6c0fe (patch)
tree8b7958253610cfdc73c2f7d4280dbc8a114abb55
parent35c8e6411c68bec947cd020d59246535ba4adb4d (diff)
Notes
-rw-r--r--sys/i386/include/globals.h6
-rw-r--r--sys/sys/proc.h1
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