diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2008-12-26 22:23:39 +1030 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2008-12-26 22:23:39 +1030 |
commit | 7479a2939df4957ba794cce814379b6d10914bdc (patch) | |
tree | 6f63adc957e142a6f24faf66922a24057dc5d7d5 /arch/sh/include | |
parent | 96d76a74870d5f11ce2abdd09a8dcdc401d714d1 (diff) | |
download | blackbird-op-linux-7479a2939df4957ba794cce814379b6d10914bdc.tar.gz blackbird-op-linux-7479a2939df4957ba794cce814379b6d10914bdc.zip |
cpumask: sh: Introduce cpumask_of_{node,pcibus} to replace {node,pcibus}_to_cpumask
Impact: New APIs
The old node_to_cpumask/node_to_pcibus returned a cpumask_t: these
return a pointer to a struct cpumask. Part of removing cpumasks from
the stack.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include')
-rw-r--r-- | arch/sh/include/asm/topology.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/include/asm/topology.h b/arch/sh/include/asm/topology.h index 95f0085e098a..9aa160d0efe5 100644 --- a/arch/sh/include/asm/topology.h +++ b/arch/sh/include/asm/topology.h @@ -33,6 +33,7 @@ #define parent_node(node) ((void)(node),0) #define node_to_cpumask(node) ((void)node, cpu_online_map) +#define cpumask_of_node(node) ((void)node, cpu_online_mask) #define node_to_first_cpu(node) ((void)(node),0) #define pcibus_to_node(bus) ((void)(bus), -1) |