summaryrefslogtreecommitdiff
path: root/include/asm-sparc64/topology.h
blob: e0d450d600ec2a7890cc7bca91572f8e56fd472a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef _ASM_SPARC64_TOPOLOGY_H
#define _ASM_SPARC64_TOPOLOGY_H

#include <asm/spitfire.h>
#define smt_capable()	(tlb_type == hypervisor)

#include <asm-generic/topology.h>

#define topology_core_id(cpu)			(cpu_data(cpu).core_id)
#define topology_thread_siblings(cpu)		(cpu_sibling_map[cpu])

#endif /* _ASM_SPARC64_TOPOLOGY_H */