From 262d75936162ae0da934f8db669931b1b153774b Mon Sep 17 00:00:00 2001 From: peter Date: Fri, 5 Nov 2004 19:00:23 +0000 Subject: [PATCH] Restrict the sched_bind to cpu 0 to i386 and amd64 for now. I forgot that alpha still doesn't use logical cpu id's. --- sys/kern/kern_shutdown.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/kern/kern_shutdown.c b/sys/kern/kern_shutdown.c index 1e83e0756a52..27b4cfd5d051 100644 --- a/sys/kern/kern_shutdown.c +++ b/sys/kern/kern_shutdown.c @@ -247,7 +247,7 @@ boot(int howto) { static int first_buf_printf = 1; -#ifdef SMP +#if defined(SMP) && (defined(__i386__) || defined(__amd64__)) /* Do all shutdown processing on cpu0 */ mtx_lock_spin(&sched_lock); sched_bind(curthread, 0);