topology.h 330 B

123456789101112
  1. #ifndef _ASM_SPARC64_TOPOLOGY_H
  2. #define _ASM_SPARC64_TOPOLOGY_H
  3. #include <asm/spitfire.h>
  4. #define smt_capable() (tlb_type == hypervisor)
  5. #include <asm-generic/topology.h>
  6. #define topology_core_id(cpu) (cpu_data(cpu).core_id)
  7. #define topology_thread_siblings(cpu) (cpu_sibling_map[cpu])
  8. #endif /* _ASM_SPARC64_TOPOLOGY_H */