summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/smtc.h
diff options
context:
space:
mode:
authorSteven J. Hill <sjhill@mips.com>2012-04-09 17:58:39 +0200
committerRalf Baechle <ralf@linux-mips.org>2012-07-23 14:55:53 +0200
commit889a4c7b33607bf03c04b8f2d5607fd4274f47f3 (patch)
tree5e34ba915e741e4cf346d35fd53b2f5c3f956560 /arch/mips/include/asm/smtc.h
parentMIPS: Remove dead code related to 1004K oprofile support. (diff)
downloadlinux-889a4c7b33607bf03c04b8f2d5607fd4274f47f3.tar.xz
linux-889a4c7b33607bf03c04b8f2d5607fd4274f47f3.zip
MIPS: SMTC: Support for Multi-threaded FPUs
Signed-off-by: Steven J. Hill <sjhill@mips.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/3603/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/smtc.h')
-rw-r--r--arch/mips/include/asm/smtc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/mips/include/asm/smtc.h b/arch/mips/include/asm/smtc.h
index c9736fc06325..8935426a56ab 100644
--- a/arch/mips/include/asm/smtc.h
+++ b/arch/mips/include/asm/smtc.h
@@ -33,6 +33,12 @@ typedef long asiduse;
#endif
#endif
+/*
+ * VPE Management information
+ */
+
+#define MAX_SMTC_VPES MAX_SMTC_TLBS /* FIXME: May not always be true. */
+
extern asiduse smtc_live_asid[MAX_SMTC_TLBS][MAX_SMTC_ASIDS];
struct mm_struct;