]> err.no Git - linux-2.6/blobdiff - include/asm-mips/topology.h
mmc_spi: mmc_spi.h should include linux/interrupts.h
[linux-2.6] / include / asm-mips / topology.h
index 0440fb9f218044d504cdf18ee13ca8d836fbdd63..259145e07e9724a2e1bcd22e3ed9ee52a8f9580c 100644 (file)
@@ -1 +1,17 @@
+/*
+ * This file is subject to the terms and conditions of the GNU General Public
+ * License.  See the file "COPYING" in the main directory of this archive
+ * for more details.
+ *
+ * Copyright (C) 2007 by Ralf Baechle
+ */
+#ifndef __ASM_TOPOLOGY_H
+#define __ASM_TOPOLOGY_H
+
 #include <topology.h>
+
+#ifdef CONFIG_SMP
+#define smt_capable()   (smp_num_siblings > 1)
+#endif
+
+#endif /* __ASM_TOPOLOGY_H */