diff options
author | jake <jake@FreeBSD.org> | 2002-03-07 04:43:51 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2002-03-07 04:43:51 +0000 |
commit | 96a2ab54a0fa8b4d800a76dd9507b2e12f3ae3bb (patch) | |
tree | 5c599ca25a8dcb1b72892a1f7d4363d964ed0edf /sys/kern/subr_smp.c | |
parent | 446c57926d35006b63b1679564b302a463677e06 (diff) | |
download | FreeBSD-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/kern/subr_smp.c')
-rw-r--r-- | sys/kern/subr_smp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/kern/subr_smp.c b/sys/kern/subr_smp.c index 1d90fe8..aa1d782 100644 --- a/sys/kern/subr_smp.c +++ b/sys/kern/subr_smp.c @@ -45,6 +45,8 @@ #include <sys/smp.h> #include <sys/sysctl.h> +#include <machine/smp.h> + volatile u_int stopped_cpus; volatile u_int started_cpus; |