diff options
Diffstat (limited to 'arch/sparc/include/asm/topology_64.h')
-rw-r--r-- | arch/sparc/include/asm/topology_64.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/sparc/include/asm/topology_64.h b/arch/sparc/include/asm/topology_64.h index 2770f64fdc3b..e5ea8d332421 100644 --- a/arch/sparc/include/asm/topology_64.h +++ b/arch/sparc/include/asm/topology_64.h | |||
@@ -38,13 +38,9 @@ static inline int pcibus_to_node(struct pci_bus *pbus) | |||
38 | } | 38 | } |
39 | #endif | 39 | #endif |
40 | 40 | ||
41 | #define pcibus_to_cpumask(bus) \ | ||
42 | (pcibus_to_node(bus) == -1 ? \ | ||
43 | CPU_MASK_ALL : \ | ||
44 | node_to_cpumask(pcibus_to_node(bus))) | ||
45 | #define cpumask_of_pcibus(bus) \ | 41 | #define cpumask_of_pcibus(bus) \ |
46 | (pcibus_to_node(bus) == -1 ? \ | 42 | (pcibus_to_node(bus) == -1 ? \ |
47 | CPU_MASK_ALL_PTR : \ | 43 | cpu_all_mask : \ |
48 | cpumask_of_node(pcibus_to_node(bus))) | 44 | cpumask_of_node(pcibus_to_node(bus))) |
49 | 45 | ||
50 | #define SD_NODE_INIT (struct sched_domain) { \ | 46 | #define SD_NODE_INIT (struct sched_domain) { \ |
@@ -84,7 +80,6 @@ static inline int pcibus_to_node(struct pci_bus *pbus) | |||
84 | #define smt_capable() (sparc64_multi_core) | 80 | #define smt_capable() (sparc64_multi_core) |
85 | #endif /* CONFIG_SMP */ | 81 | #endif /* CONFIG_SMP */ |
86 | 82 | ||
87 | #define cpu_coregroup_map(cpu) (cpu_core_map[cpu]) | ||
88 | #define cpu_coregroup_mask(cpu) (&cpu_core_map[cpu]) | 83 | #define cpu_coregroup_mask(cpu) (&cpu_core_map[cpu]) |
89 | 84 | ||
90 | #endif /* _ASM_SPARC64_TOPOLOGY_H */ | 85 | #endif /* _ASM_SPARC64_TOPOLOGY_H */ |