mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-18 06:14:27 +00:00
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:
parent
b5128f416a
commit
0de3e7280f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=137266
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue