sched, isolcpu: make cpu_isolated_map visible outside scheduler
authorRik van Riel <[email protected]>
Mon, 9 Mar 2015 16:12:07 +0000 (12:12 -0400)
committerTejun Heo <[email protected]>
Thu, 19 Mar 2015 18:28:19 +0000 (14:28 -0400)
commit3fa0818b3c85e9bb55e3ac96c9523b87e44eab9e
treee94493c80d3de9d990c5d927349a6d7cae4130d9
parent695df2132cfe3782784d4b0e1f0027168c1830ca
sched, isolcpu: make cpu_isolated_map visible outside scheduler

Needed by the next patch. Also makes cpu_isolated_map present
when compiled without SMP and/or with CONFIG_NR_CPUS=1, like
the other cpu masks.

At some point we may want to clean things up so cpumasks do
not exist in UP kernels. Maybe something for the CONFIG_TINY
crowd.

Cc: Peter Zijlstra <[email protected]>
Cc: Clark Williams <[email protected]>
Cc: Li Zefan <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Luiz Capitulino <[email protected]>
Cc: David Rientjes <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: [email protected]
Signed-off-by: Rik van Riel <[email protected]>
Acked-by: Zefan Li <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
include/linux/sched.h
kernel/sched/core.c