summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authordrahn <drahn@openbsd.org>2008-04-23 15:34:18 +0000
committerdrahn <drahn@openbsd.org>2008-04-23 15:34:18 +0000
commit395fdb30b68f8bee7a9e7349f7d72ce98854cfab (patch)
tree2e978c6ab651f3dee3f5f7177bed896906d36727 /sys
parentRemove driver for pre 802.11 RangeLAN2 wireless devices. (diff)
downloadwireguard-openbsd-395fdb30b68f8bee7a9e7349f7d72ce98854cfab.tar.xz
wireguard-openbsd-395fdb30b68f8bee7a9e7349f7d72ce98854cfab.zip
Call sched_init_cpu() for all but boot processor. ok kettenis.
Diffstat (limited to 'sys')
-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);
}