]> 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)
commitc7df1e9303f83d57df9b7a832b3db471ddb40ef8
treefb4e214cd30494841d865732b936179ea8d0b9c7
parent0f90149092703bef57b0e531ef10c2e29c47e5bb
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