summaryrefslogtreecommitdiff
path: root/arch/mips/include/asm/smtc.h
diff options
context:
space:
mode:
authorSteven J. Hill <sjhill@mips.com>2012-04-09 19:58:39 +0400
committerRalf Baechle <ralf@linux-mips.org>2012-07-23 16:55:53 +0400
commit889a4c7b33607bf03c04b8f2d5607fd4274f47f3 (patch)
tree5e34ba915e741e4cf346d35fd53b2f5c3f956560 /arch/mips/include/asm/smtc.h
parent2244f1286509673c0b40fb9504a9be0b7b633aeb (diff)
downloadlinux-889a4c7b33607bf03c04b8f2d5607fd4274f47f3.tar.xz
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;