Ralf Baechle | 0ab7aef | 2007-03-02 20:42:04 +0000 | [diff] [blame] | 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 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | #include <topology.h> |
Ralf Baechle | 0ab7aef | 2007-03-02 20:42:04 +0000 | [diff] [blame] | 12 | |
| 13 | #ifdef CONFIG_SMP |
| 14 | #define smt_capable() (smp_num_siblings > 1) |
| 15 | #endif |
| 16 | |
| 17 | #endif /* __ASM_TOPOLOGY_H */ |