2005-04-16 15:20:36 -07:00
|
|
|
#ifndef _ASM_SPARC64_TOPOLOGY_H
|
|
|
|
#define _ASM_SPARC64_TOPOLOGY_H
|
|
|
|
|
2006-06-27 02:54:42 -07:00
|
|
|
#include <asm/spitfire.h>
|
|
|
|
#define smt_capable() (tlb_type == hypervisor)
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
#include <asm-generic/topology.h>
|
|
|
|
|
2007-05-25 15:49:59 -07:00
|
|
|
#define topology_core_id(cpu) (cpu_data(cpu).core_id)
|
|
|
|
#define topology_thread_siblings(cpu) (cpu_sibling_map[cpu])
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
#endif /* _ASM_SPARC64_TOPOLOGY_H */
|