mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
[PATCH] cpumask: export cpu_online_map and cpu_possible_map consistently
cpumask: ensure that the cpu_online_map and cpu_possible_map bitmasks, and hence all the macros in <linux/cpumask.h> that require them, are available to modules for all supported combinations of architecture and CONFIG_SMP. Signed-off-by: Greg Banks <gnb@melbourne.sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
0f532f3861
commit
e16b38f713
4 changed files with 7 additions and 0 deletions
|
@ -42,6 +42,7 @@ cpumask_t cpu_possible_map;
|
|||
EXPORT_SYMBOL(cpu_possible_map);
|
||||
|
||||
cpumask_t cpu_online_map;
|
||||
EXPORT_SYMBOL(cpu_online_map);
|
||||
static atomic_t cpus_booted = ATOMIC_INIT(0);
|
||||
|
||||
/* These are defined by the board-specific code. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue