]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Select R3k-style TLB in Kconfig
authorPaul Burton <paul.burton@mips.com>
Sat, 31 Aug 2019 15:40:43 +0000 (15:40 +0000)
committerPaul Burton <paul.burton@mips.com>
Tue, 3 Sep 2019 13:20:43 +0000 (14:20 +0100)
commitccc49587ce010c7ab8a53160bea1bcd7f3a8cce5
treefb4e214cd30494841d865732b936179ea8d0b9c7
parent3e9cb5a5e0d83f7795ef6d9357ad26552d6bc152
MIPS: Select R3k-style TLB in Kconfig

Currently areas where we need to determine whether the TLB is R3k-style
need to check for either of CONFIG_CPU_R3000 || CONFIG_CPU_TX39XX.

Introduce a new CONFIG_CPU_R3K_TLB & select it from both of the above,
allowing us to simplify checks for R3k-style TLBs by only checking for
this new Kconfig option.

Signed-off-by: Paul Burton <paul.burton@mips.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Cc: linux-mips@vger.kernel.org
arch/mips/Kconfig
arch/mips/include/asm/pgtable-32.h
arch/mips/include/asm/pgtable-bits.h
arch/mips/include/asm/pgtable.h
arch/mips/mm/Makefile