* [PATCH 6/8] cpumask: sh: Introduce cpumask_of_{node,pcibus} to replace {node,pcibus}_to_cpumask
@ 2008-11-21 10:42 Rusty Russell
0 siblings, 0 replies; only message in thread
From: Rusty Russell @ 2008-11-21 10:42 UTC (permalink / raw)
To: linux-kernel; +Cc: Paul Mundt
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>
---
arch/sh/include/asm/topology.h | 1 +
1 file changed, 1 insertion(+)
diff -r 1d66543b99ba arch/sh/include/asm/topology.h
--- a/arch/sh/include/asm/topology.h Thu Nov 06 23:32:39 2008 +1100
+++ b/arch/sh/include/asm/topology.h Thu Nov 06 23:33:08 2008 +1100
@@ -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)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-11-21 10:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-21 10:42 [PATCH 6/8] cpumask: sh: Introduce cpumask_of_{node,pcibus} to replace {node,pcibus}_to_cpumask Rusty Russell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®