aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-mips/mips_mt.h
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-04-05 09:45:45 +0100
committerRalf Baechle <ralf@linux-mips.org>2006-04-19 04:14:28 +0200
commit41c594ab65fc89573af296d192aa5235d09717ab (patch)
tree562462512a320f386bdf49eabfbb26bb3ee761fa /include/asm-mips/mips_mt.h
parent2600990e640e3bef29ed89d565864cf16ee83833 (diff)
downloadkernel_samsung_tuna-41c594ab65fc89573af296d192aa5235d09717ab.zip
kernel_samsung_tuna-41c594ab65fc89573af296d192aa5235d09717ab.tar.gz
kernel_samsung_tuna-41c594ab65fc89573af296d192aa5235d09717ab.tar.bz2
[MIPS] MT: Improved multithreading support.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/mips_mt.h')
-rw-r--r--include/asm-mips/mips_mt.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/asm-mips/mips_mt.h b/include/asm-mips/mips_mt.h
new file mode 100644
index 0000000..c31a312
--- /dev/null
+++ b/include/asm-mips/mips_mt.h
@@ -0,0 +1,15 @@
+/*
+ * Definitions and decalrations for MIPS MT support
+ * that are common between SMTC, VSMP, and/or AP/SP
+ * kernel models.
+ */
+#ifndef __ASM_MIPS_MT_H
+#define __ASM_MIPS_MT_H
+
+extern cpumask_t mt_fpu_cpumask;
+extern unsigned long mt_fpemul_threshold;
+
+extern void mips_mt_regdump(unsigned long previous_mvpcontrol_value);
+extern void mips_mt_set_cpuoptions(void);
+
+#endif /* __ASM_MIPS_MT_H */