1 #ifndef _ASM_SPARC64_TOPOLOGY_H
2 #define _ASM_SPARC64_TOPOLOGY_H
5 #define topology_physical_package_id(cpu) (cpu_data(cpu).proc_id)
6 #define topology_core_id(cpu) (cpu_data(cpu).core_id)
7 #define topology_core_siblings(cpu) (cpu_core_map[cpu])
8 #define topology_thread_siblings(cpu) (per_cpu(cpu_sibling_map, cpu))
9 #define mc_capable() (sparc64_multi_core)
10 #define smt_capable() (sparc64_multi_core)
11 #endif /* CONFIG_SMP */
13 #include <asm-generic/topology.h>
15 #define cpu_coregroup_map(cpu) (cpu_core_map[cpu])
17 #endif /* _ASM_SPARC64_TOPOLOGY_H */