Commit bb32051532fed727de0d513a9a578b54c0b7ea5a

Authored by Andrew Morton
Committed by Linus Torvalds
1 parent 958d24df82

[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>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

... ... @@ -3879,6 +3879,7 @@
3879 3879  
3880 3880 #ifndef CONFIG_SMP
3881 3881 cpumask_t cpu_online_map = CPU_MASK_ALL;
  3882 +EXPORT_SYMBOL_GPL(cpu_online_map);
3882 3883 cpumask_t cpu_possible_map = CPU_MASK_ALL;
3883 3884 #endif
3884 3885