RT-AC56 3.0.0.4.374.37 core
[tomato.git] / release / src-rt-6.x.4708 / linux / linux-2.6.36 / arch / mips / include / asm / topology.h
blobbb371b79b4475db12304596fb80953e074971d48
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.
6 * Copyright (C) 2007 by Ralf Baechle
7 */
8 #ifndef __ASM_TOPOLOGY_H
9 #define __ASM_TOPOLOGY_H
11 #include <topology.h>
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
19 #endif /* __ASM_TOPOLOGY_H */