diff options
author | fsmp <fsmp@FreeBSD.org> | 1997-06-27 23:38:32 +0000 |
---|---|---|
committer | fsmp <fsmp@FreeBSD.org> | 1997-06-27 23:38:32 +0000 |
commit | dedae5f4c7f5b1da00e69e7647ea24ab9cac8f90 (patch) | |
tree | 54090bcecb060015d96bce9527dc7e90e5daa6f7 /sys | |
parent | 7919025ccf2c3d74cb4a1c0e4b54a9ba878e7f0d (diff) | |
download | FreeBSD-src-dedae5f4c7f5b1da00e69e7647ea24ab9cac8f90.zip FreeBSD-src-dedae5f4c7f5b1da00e69e7647ea24ab9cac8f90.tar.gz |
Initialize private variable other_cpus during AP boot.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/init_smp.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/kern/init_smp.c b/sys/kern/init_smp.c index b972872..c7ad542 100644 --- a/sys/kern/init_smp.c +++ b/sys/kern/init_smp.c @@ -22,7 +22,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: init_smp.c,v 1.6 1997/05/06 07:10:06 fsmp Exp $ + * $Id: init_smp.c,v 1.1 1997/06/27 18:32:57 smp Exp smp $ */ #include "opt_smp.h" @@ -173,6 +173,9 @@ secondary_main() cpu_starting = cpuid; smp_cpus++; + /* build our map of 'other' CPUs */ + other_cpus = all_cpus & ~(1 << cpuid); + printf("SMP: AP CPU #%d LAUNCHED!! Starting Scheduling...\n", cpuid); |