aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorDavid Daney <david.daney@cavium.com>2013-07-29 18:07:03 -0400
committerRalf Baechle <ralf@linux-mips.org>2013-08-26 09:31:53 -0400
commit4723b20a381ae488d845f3e041ef1dd71c6f40f8 (patch)
treeae8040eee924f541d84148ce2f931df5bba8b7a6 /arch
parent4122af0ab02a4b394e4703a3ac557d556701f4d9 (diff)
MIPS: Generate OCTEON3 TLB handlers with the same features as OCTEON2.
OCTEON2 need the same code. Signed-off-by: David Daney <david.daney@cavium.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/5637/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/mips/mm/tlbex.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/mm/tlbex.c b/arch/mips/mm/tlbex.c
index 556cb4815770..821b45175dc1 100644
--- a/arch/mips/mm/tlbex.c
+++ b/arch/mips/mm/tlbex.c
@@ -85,6 +85,7 @@ static int use_bbit_insns(void)
85 case CPU_CAVIUM_OCTEON: 85 case CPU_CAVIUM_OCTEON:
86 case CPU_CAVIUM_OCTEON_PLUS: 86 case CPU_CAVIUM_OCTEON_PLUS:
87 case CPU_CAVIUM_OCTEON2: 87 case CPU_CAVIUM_OCTEON2:
88 case CPU_CAVIUM_OCTEON3:
88 return 1; 89 return 1;
89 default: 90 default:
90 return 0; 91 return 0;
@@ -95,6 +96,7 @@ static int use_lwx_insns(void)
95{ 96{
96 switch (current_cpu_type()) { 97 switch (current_cpu_type()) {
97 case CPU_CAVIUM_OCTEON2: 98 case CPU_CAVIUM_OCTEON2:
99 case CPU_CAVIUM_OCTEON3:
98 return 1; 100 return 1;
99 default: 101 default:
100 return 0; 102 return 0;