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