mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 3/17] cpumask: remove the now-obsoleted pcibus_to_cpumask(): powerpc
@ 2009-06-12 13:01 Rusty Russell
  0 siblings, 0 replies; only message in thread
From: Rusty Russell @ 2009-06-12 13:01 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: linux-kernel


cpumask_of_pcibus() is the new version.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
---
 arch/powerpc/include/asm/topology.h |    5 -----
 1 file changed, 5 deletions(-)

diff --git a/arch/powerpc/include/asm/topology.h b/arch/powerpc/include/asm/topology.h
--- a/arch/powerpc/include/asm/topology.h
+++ b/arch/powerpc/include/asm/topology.h
@@ -35,11 +35,6 @@ static inline int pcibus_to_node(struct 
 	return -1;
 }
 #endif
-
-#define pcibus_to_cpumask(bus)	(pcibus_to_node(bus) == -1 ? \
-					CPU_MASK_ALL : \
-					node_to_cpumask(pcibus_to_node(bus)) \
-				)
 
 #define cpumask_of_pcibus(bus)	(pcibus_to_node(bus) == -1 ?		\
 				 cpu_all_mask :				\


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-06-12 13:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-12 13:01 [PATCH 3/17] cpumask: remove the now-obsoleted pcibus_to_cpumask(): powerpc 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®