diff options
Diffstat (limited to 'include/asm-powerpc/topology.h')
| -rw-r--r-- | include/asm-powerpc/topology.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/asm-powerpc/topology.h b/include/asm-powerpc/topology.h index 92f3e5507d22..bbc3844b086f 100644 --- a/include/asm-powerpc/topology.h +++ b/include/asm-powerpc/topology.h | |||
| @@ -93,5 +93,10 @@ static inline void sysfs_remove_device_from_node(struct sys_device *dev, | |||
| 93 | 93 | ||
| 94 | #endif /* CONFIG_NUMA */ | 94 | #endif /* CONFIG_NUMA */ |
| 95 | 95 | ||
| 96 | #ifdef CONFIG_SMP | ||
| 97 | #include <asm/cputable.h> | ||
| 98 | #define smt_capable() (cpu_has_feature(CPU_FTR_SMT)) | ||
| 99 | #endif | ||
| 100 | |||
| 96 | #endif /* __KERNEL__ */ | 101 | #endif /* __KERNEL__ */ |
| 97 | #endif /* _ASM_POWERPC_TOPOLOGY_H */ | 102 | #endif /* _ASM_POWERPC_TOPOLOGY_H */ |
