summaryrefslogtreecommitdiffstats
path: root/sys/alpha
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2002-03-07 04:43:51 +0000
committerjake <jake@FreeBSD.org>2002-03-07 04:43:51 +0000
commit96a2ab54a0fa8b4d800a76dd9507b2e12f3ae3bb (patch)
tree5c599ca25a8dcb1b72892a1f7d4363d964ed0edf /sys/alpha
parent446c57926d35006b63b1679564b302a463677e06 (diff)
downloadFreeBSD-src-96a2ab54a0fa8b4d800a76dd9507b2e12f3ae3bb.zip
FreeBSD-src-96a2ab54a0fa8b4d800a76dd9507b2e12f3ae3bb.tar.gz
Add needed includes of machine/smp.h, remove nested include in sys/smp.h
so that inlines in machine/smp.h can use variables declared in sys/smp.h.
Diffstat (limited to 'sys/alpha')
-rw-r--r--sys/alpha/alpha/interrupt.c1
-rw-r--r--sys/alpha/alpha/mp_machdep.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/sys/alpha/alpha/interrupt.c b/sys/alpha/alpha/interrupt.c
index b33afa8..0c6a73d 100644
--- a/sys/alpha/alpha/interrupt.c
+++ b/sys/alpha/alpha/interrupt.c
@@ -60,6 +60,7 @@
#include <machine/bwx.h>
#include <machine/intr.h>
#include <machine/rpb.h>
+#include <machine/smp.h>
#ifdef EVCNT_COUNTERS
struct evcnt clock_intr_evcnt; /* event counter for clock intrs. */
diff --git a/sys/alpha/alpha/mp_machdep.c b/sys/alpha/alpha/mp_machdep.c
index d899462..9ad8966 100644
--- a/sys/alpha/alpha/mp_machdep.c
+++ b/sys/alpha/alpha/mp_machdep.c
@@ -50,6 +50,7 @@
#include <machine/rpb.h>
#include <machine/clock.h>
#include <machine/prom.h>
+#include <machine/smp.h>
/* Set to 1 once we're ready to let the APs out of the pen. */
static volatile int aps_ready = 0;
OpenPOWER on IntegriCloud