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