aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-mips
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-07-27 19:31:10 +0100
committerRalf Baechle <ralf@linux-mips.org>2007-07-31 21:35:24 +0100
commit07cc0c9e65d3e262f871ea357dd77b41950b1ca5 (patch)
treefa797fa236da6e03c7b778cdc364ac1c3e03b52f /include/asm-mips
parent[MIPS] SMTC: Safety net for i8259A interrupts. (diff)
downloadlinux-dev-07cc0c9e65d3e262f871ea357dd77b41950b1ca5.tar.xz
linux-dev-07cc0c9e65d3e262f871ea357dd77b41950b1ca5.zip
[MIPS] MT: Enable coexistence of AP/SP with VSMP and SMTC.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips')
-rw-r--r--include/asm-mips/mips_mt.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-mips/mips_mt.h b/include/asm-mips/mips_mt.h
index 8045abc78d0f..ac7935203f89 100644
--- a/include/asm-mips/mips_mt.h
+++ b/include/asm-mips/mips_mt.h
@@ -8,6 +8,12 @@
#include <linux/cpumask.h>
+/*
+ * How many VPEs and TCs is Linux allowed to use? 0 means no limit.
+ */
+extern int tclimit;
+extern int vpelimit;
+
extern cpumask_t mt_fpu_cpumask;
extern unsigned long mt_fpemul_threshold;