diff options
Diffstat (limited to 'include/asm-generic/topology.h')
-rw-r--r-- | include/asm-generic/topology.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/asm-generic/topology.h b/include/asm-generic/topology.h index 0e9e2bc0ee96..88bada2ebc4b 100644 --- a/include/asm-generic/topology.h +++ b/include/asm-generic/topology.h | |||
@@ -43,20 +43,10 @@ | |||
43 | #ifndef cpumask_of_node | 43 | #ifndef cpumask_of_node |
44 | #define cpumask_of_node(node) ((void)node, cpu_online_mask) | 44 | #define cpumask_of_node(node) ((void)node, cpu_online_mask) |
45 | #endif | 45 | #endif |
46 | #ifndef node_to_first_cpu | ||
47 | #define node_to_first_cpu(node) ((void)(node),0) | ||
48 | #endif | ||
49 | #ifndef pcibus_to_node | 46 | #ifndef pcibus_to_node |
50 | #define pcibus_to_node(bus) ((void)(bus), -1) | 47 | #define pcibus_to_node(bus) ((void)(bus), -1) |
51 | #endif | 48 | #endif |
52 | 49 | ||
53 | #ifndef pcibus_to_cpumask | ||
54 | #define pcibus_to_cpumask(bus) (pcibus_to_node(bus) == -1 ? \ | ||
55 | CPU_MASK_ALL : \ | ||
56 | node_to_cpumask(pcibus_to_node(bus)) \ | ||
57 | ) | ||
58 | #endif | ||
59 | |||
60 | #ifndef cpumask_of_pcibus | 50 | #ifndef cpumask_of_pcibus |
61 | #define cpumask_of_pcibus(bus) (pcibus_to_node(bus) == -1 ? \ | 51 | #define cpumask_of_pcibus(bus) (pcibus_to_node(bus) == -1 ? \ |
62 | cpu_all_mask : \ | 52 | cpu_all_mask : \ |