[PATCH] export cpu_online_map
With CONFIG_SMP=n: *** Warning: "cpu_online_map" [drivers/firmware/dcdbas.ko] undefined! due to set_cpus_allowed(). Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
958d24df82
commit
bb32051532
|
@ -3879,6 +3879,7 @@ EXPORT_SYMBOL(cpu_present_map);
|
||||||
|
|
||||||
#ifndef CONFIG_SMP
|
#ifndef CONFIG_SMP
|
||||||
cpumask_t cpu_online_map = CPU_MASK_ALL;
|
cpumask_t cpu_online_map = CPU_MASK_ALL;
|
||||||
|
EXPORT_SYMBOL_GPL(cpu_online_map);
|
||||||
cpumask_t cpu_possible_map = CPU_MASK_ALL;
|
cpumask_t cpu_possible_map = CPU_MASK_ALL;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue