1/* 2 * This file is subject to the terms and conditions of the GNU General Public 3 * License. See the file "COPYING" in the main directory of this archive 4 * for more details. 5 * 6 * Copyright (C) 2007 by Ralf Baechle 7 */ 8#ifndef __ASM_TOPOLOGY_H 9#define __ASM_TOPOLOGY_H 10 11#include <topology.h> 12 13#ifdef CONFIG_SMP 14#define smt_capable() (smp_num_siblings > 1) 15/*#define topology_thread_cpumask(cpu) (&per_cpu(cpu_sibling_map, cpu)) */ 16#define topology_thread_cpumask(cpu) (&cpu_sibling_map[cpu]) 17#endif 18 19#endif /* __ASM_TOPOLOGY_H */ 20