x86: fix oprofile double free
[wandboard.git] / include / asm-sparc64 / topology.h
blobe0d450d600ec2a7890cc7bca91572f8e56fd472a
1 #ifndef _ASM_SPARC64_TOPOLOGY_H
2 #define _ASM_SPARC64_TOPOLOGY_H
4 #include <asm/spitfire.h>
5 #define smt_capable() (tlb_type == hypervisor)
7 #include <asm-generic/topology.h>
9 #define topology_core_id(cpu) (cpu_data(cpu).core_id)
10 #define topology_thread_siblings(cpu) (cpu_sibling_map[cpu])
12 #endif /* _ASM_SPARC64_TOPOLOGY_H */