]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/asm-powerpc/topology.h
cpm_uart: make it possible to utilize from powerpc
[karo-tx-linux.git] / include / asm-powerpc / topology.h
index 92f3e5507d224cfc1cbf80e10d7d6bc09647a804..bbc3844b086fcadd9f529c69f5b12b6556530667 100644 (file)
@@ -93,5 +93,10 @@ static inline void sysfs_remove_device_from_node(struct sys_device *dev,
 
 #endif /* CONFIG_NUMA */
 
+#ifdef CONFIG_SMP
+#include <asm/cputable.h>
+#define smt_capable()          (cpu_has_feature(CPU_FTR_SMT))
+#endif
+
 #endif /* __KERNEL__ */
 #endif /* _ASM_POWERPC_TOPOLOGY_H */