[BACK]Return to topology.h CVS log [TXT][DIR] Up to [Development] / linux-2.6-xfs / include / asm-sparc64

File: [Development] / linux-2.6-xfs / include / asm-sparc64 / Attic / topology.h (download)

Revision 1.3, Fri Jun 8 16:17:19 2007 UTC (10 years, 4 months ago) by tes.longdrop.melbourne.sgi.com
Branch: MAIN
Changes since 1.2: +3 -0 lines

Merge up to 2.6.22-rc4
Merge of 2.6.x-xfs-melb:linux:28871a by kenmcd.

#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 */