diff options
author | Greg Banks <gnb@melbourne.sgi.com> | 2006-10-02 05:17:40 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-02 10:57:17 -0400 |
commit | e16b38f71322efd8a221f64b6ddc0748d21d2e1a (patch) | |
tree | da1932ba711a23fbbdf09d8c8cc8dbb02b1190d1 /arch/sh | |
parent | 0f532f3861d2c4e5aa7dcd33fb18e9975eb28457 (diff) |
[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>
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/kernel/smp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/kernel/smp.c b/arch/sh/kernel/smp.c index 6c0fb7c4af11..dbebaddcfe39 100644 --- a/arch/sh/kernel/smp.c +++ b/arch/sh/kernel/smp.c | |||
@@ -42,6 +42,7 @@ cpumask_t cpu_possible_map; | |||
42 | EXPORT_SYMBOL(cpu_possible_map); | 42 | EXPORT_SYMBOL(cpu_possible_map); |
43 | 43 | ||
44 | cpumask_t cpu_online_map; | 44 | cpumask_t cpu_online_map; |
45 | EXPORT_SYMBOL(cpu_online_map); | ||
45 | static atomic_t cpus_booted = ATOMIC_INIT(0); | 46 | static atomic_t cpus_booted = ATOMIC_INIT(0); |
46 | 47 | ||
47 | /* These are defined by the board-specific code. */ | 48 | /* These are defined by the board-specific code. */ |