projects
/
profile
/
common
/
kernel-common.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5564b8
)
cpumask: remove the now-obsoleted pcibus_to_cpumask(): powerpc
author
Rusty Russell
<rusty@rustcorp.com.au>
Thu, 24 Sep 2009 15:34:25 +0000
(09:34 -0600)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Thu, 24 Sep 2009 00:04:26 +0000
(09:34 +0930)
cpumask_of_pcibus() is the new version.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
arch/powerpc/include/asm/topology.h
patch
|
blob
|
history
diff --git
a/arch/powerpc/include/asm/topology.h
b/arch/powerpc/include/asm/topology.h
index
394edcb
..
9a3300d
100644
(file)
--- a/
arch/powerpc/include/asm/topology.h
+++ b/
arch/powerpc/include/asm/topology.h
@@
-36,11
+36,6
@@
static inline int pcibus_to_node(struct pci_bus *bus)
}
#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 : \
cpumask_of_node(pcibus_to_node(bus)))