Commit 4723b20a authored by David Daney's avatar David Daney Committed by Ralf Baechle

MIPS: Generate OCTEON3 TLB handlers with the same features as OCTEON2.

OCTEON2 need the same code.
Signed-off-by: default avatarDavid Daney <david.daney@cavium.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/5637/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 4122af0a
...@@ -85,6 +85,7 @@ static int use_bbit_insns(void) ...@@ -85,6 +85,7 @@ static int use_bbit_insns(void)
case CPU_CAVIUM_OCTEON: case CPU_CAVIUM_OCTEON:
case CPU_CAVIUM_OCTEON_PLUS: case CPU_CAVIUM_OCTEON_PLUS:
case CPU_CAVIUM_OCTEON2: case CPU_CAVIUM_OCTEON2:
case CPU_CAVIUM_OCTEON3:
return 1; return 1;
default: default:
return 0; return 0;
...@@ -95,6 +96,7 @@ static int use_lwx_insns(void) ...@@ -95,6 +96,7 @@ static int use_lwx_insns(void)
{ {
switch (current_cpu_type()) { switch (current_cpu_type()) {
case CPU_CAVIUM_OCTEON2: case CPU_CAVIUM_OCTEON2:
case CPU_CAVIUM_OCTEON3:
return 1; return 1;
default: default:
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment