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.
This commit is contained in:
Peter Wemm 2004-11-05 19:00:23 +00:00
parent b5128f416a
commit 0de3e7280f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=137266

View file

@ -247,7 +247,7 @@ boot(int howto)
{ {
static int first_buf_printf = 1; static int first_buf_printf = 1;
#ifdef SMP #if defined(SMP) && (defined(__i386__) || defined(__amd64__))
/* Do all shutdown processing on cpu0 */ /* Do all shutdown processing on cpu0 */
mtx_lock_spin(&sched_lock); mtx_lock_spin(&sched_lock);
sched_bind(curthread, 0); sched_bind(curthread, 0);