Simplify the code here.

Submitted by:	jhb
This commit is contained in:
Attilio Rao 2011-05-14 18:22:08 +00:00
parent bd51453137
commit faa0e911fb

View File

@ -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;