mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-04 05:11:46 +00:00
[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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue