summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2008-04-23 15:34:19 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2008-04-23 15:34:19 +0000
commite730f5d01f5ea4521047362a73ac1d63241e2a90 (patch)
tree0bc526f06f20d608c70719902448fad857e42c2b
parentff13e9ddde113a9a8f5196eee72f5b1db6c7e0f2 (diff)
Call sched_init_cpu() for all but boot processor. ok kettenis.
-rw-r--r--sys/arch/macppc/macppc/cpu.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/macppc/macppc/cpu.c b/sys/arch/macppc/macppc/cpu.c
index f8dba0689a6..db275c6ea7a 100644
--- a/sys/arch/macppc/macppc/cpu.c
+++ b/sys/arch/macppc/macppc/cpu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cpu.c,v 1.46 2008/02/15 17:33:51 drahn Exp $ */
+/* $OpenBSD: cpu.c,v 1.47 2008/04/23 15:34:18 drahn Exp $ */
/*
* Copyright (c) 1997 Per Fogelstrom
@@ -658,6 +658,9 @@ cpu_boot_secondary_processors(void)
ci = &cpu_info[i];
if (ci->ci_cpuid == 0)
continue;
+
+ sched_init_cpu(ci);
+
cpu_spinup(NULL, ci);
}