]> 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)
commit54e8d9f07d8a4489e6ab148c3074ff10af03d3aa
treedd2955c69488fe06f686087e32f519be91ed769b
parent5474682934753827d61d1226ba74ea75787b923d
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