]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - include/asm-sparc64/topology.h
mmc: don't call switch on old cards
[karo-tx-linux.git] / include / asm-sparc64 / topology.h
1 #ifndef _ASM_SPARC64_TOPOLOGY_H
2 #define _ASM_SPARC64_TOPOLOGY_H
3
4 #include <asm/spitfire.h>
5 #define smt_capable()   (tlb_type == hypervisor)
6
7 #include <asm-generic/topology.h>
8
9 #define topology_core_id(cpu)                   (cpu_data(cpu).core_id)
10 #define topology_thread_siblings(cpu)           (cpu_sibling_map[cpu])
11
12 #endif /* _ASM_SPARC64_TOPOLOGY_H */