From e730f5d01f5ea4521047362a73ac1d63241e2a90 Mon Sep 17 00:00:00 2001 From: Dale Rahn Date: Wed, 23 Apr 2008 15:34:19 +0000 Subject: Call sched_init_cpu() for all but boot processor. ok kettenis. --- sys/arch/macppc/macppc/cpu.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sys/arch/macppc') 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); } -- cgit v1.2.3