Simplify the code here.
Submitted by: jhb
This commit is contained in:
parent
743de88b75
commit
9309cc63ed
@ -797,11 +797,7 @@ cpuset_init(void *arg)
|
||||
{
|
||||
cpuset_t mask;
|
||||
|
||||
#ifdef SMP
|
||||
mask = all_cpus;
|
||||
#else
|
||||
CPU_SETOF(0, &mask);
|
||||
#endif
|
||||
if (cpuset_modify(cpuset_zero, &mask))
|
||||
panic("Can't set initial cpuset mask.\n");
|
||||
cpuset_zero->cs_flags |= CPU_SET_RDONLY;
|
||||
|
Loading…
x
Reference in New Issue
Block a user