• Rik van Riel's avatar
    sched, isolcpu: make cpu_isolated_map visible outside scheduler · 3fa0818b
    Rik van Riel authored
    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 <peterz@infradead.org>
    Cc: Clark Williams <williams@redhat.com>
    Cc: Li Zefan <lizefan@huawei.com>
    Cc: Ingo Molnar <mingo@redhat.com>
    Cc: Luiz Capitulino <lcapitulino@redhat.com>
    Cc: David Rientjes <rientjes@google.com>
    Cc: Mike Galbraith <umgwanakikbuti@gmail.com>
    Cc: cgroups@vger.kernel.org
    Signed-off-by: default avatarRik van Riel <riel@redhat.com>
    Acked-by: default avatarZefan Li <lizefan@huawei.com>
    Signed-off-by: default avatarTejun Heo <tj@kernel.org>
    3fa0818b
core.c 200 KB