]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: tlbex: Simplify r3k check
authorPaul Burton <paul.burton@mips.com>
Sat, 31 Aug 2019 15:40:44 +0000 (15:40 +0000)
committerPaul Burton <paul.burton@mips.com>
Tue, 3 Sep 2019 13:20:51 +0000 (14:20 +0100)
commitd041a058520b2ae2c63bc26d5894931caa718c86
treedd2955c69488fe06f686087e32f519be91ed769b
parentccc49587ce010c7ab8a53160bea1bcd7f3a8cce5
MIPS: tlbex: Simplify r3k check

We already know whether a CPU has r3k style exceptions, including TLB
exceptions, by checking cpu_has_3kex. Remove the list of CPU types in
build_tlb_refill_handler() & check cpu_has_3kex instead.

Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: linux-mips@vger.kernel.org
arch/mips/mm/tlbex.c