MIPS: Generate OCTEON3 TLB handlers with the same features as OCTEON2.
authorDavid Daney <david.daney@cavium.com>
Mon, 29 Jul 2013 22:07:03 +0000 (15:07 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 26 Aug 2013 13:31:53 +0000 (15:31 +0200)
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>
arch/mips/mm/tlbex.c

index 556cb48..821b451 100644 (file)
@@ -85,6 +85,7 @@ static int use_bbit_insns(void)
        case CPU_CAVIUM_OCTEON:
        case CPU_CAVIUM_OCTEON_PLUS:
        case CPU_CAVIUM_OCTEON2:
+       case CPU_CAVIUM_OCTEON3:
                return 1;
        default:
                return 0;
@@ -95,6 +96,7 @@ static int use_lwx_insns(void)
 {
        switch (current_cpu_type()) {
        case CPU_CAVIUM_OCTEON2:
+       case CPU_CAVIUM_OCTEON3:
                return 1;
        default:
                return 0;