summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/topology.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/include/asm/topology.h')
-rw-r--r--arch/mips/include/asm/topology.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/mips/include/asm/topology.h b/arch/mips/include/asm/topology.h
new file mode 100644
index 000000000000..259145e07e97
--- /dev/null
+++ b/arch/mips/include/asm/topology.h
@@ -0,0 +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 */
OpenPOWER on IntegriCloud