aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/include/asm/topology_64.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc/include/asm/topology_64.h')
-rw-r--r--arch/sparc/include/asm/topology_64.h7
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 5bc0b8fd6374..39624abb6a48 100644
--- a/arch/sparc/include/asm/topology_64.h
+++ b/arch/sparc/include/asm/topology_64.h
@@ -43,13 +43,9 @@ static inline int pcibus_to_node(struct pci_bus *pbus)
43} 43}
44#endif 44#endif
45 45
46#define pcibus_to_cpumask(bus) \
47 (pcibus_to_node(bus) == -1 ? \
48 CPU_MASK_ALL : \
49 node_to_cpumask(pcibus_to_node(bus)))
50#define cpumask_of_pcibus(bus) \ 46#define cpumask_of_pcibus(bus) \
51 (pcibus_to_node(bus) == -1 ? \ 47 (pcibus_to_node(bus) == -1 ? \
52 CPU_MASK_ALL_PTR : \ 48 cpu_all_mask : \
53 cpumask_of_node(pcibus_to_node(bus))) 49 cpumask_of_node(pcibus_to_node(bus)))
54 50
55#define SD_NODE_INIT (struct sched_domain) { \ 51#define SD_NODE_INIT (struct sched_domain) { \
@@ -89,7 +85,6 @@ static inline int pcibus_to_node(struct pci_bus *pbus)
89#define smt_capable() (sparc64_multi_core) 85#define smt_capable() (sparc64_multi_core)
90#endif /* CONFIG_SMP */ 86#endif /* CONFIG_SMP */
91 87
92#define cpu_coregroup_map(cpu) (cpu_core_map[cpu])
93#define cpu_coregroup_mask(cpu) (&cpu_core_map[cpu]) 88#define cpu_coregroup_mask(cpu) (&cpu_core_map[cpu])
94 89
95#endif /* _ASM_SPARC64_TOPOLOGY_H */ 90#endif /* _ASM_SPARC64_TOPOLOGY_H */