]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: r4k-bugs64: Limit R4k bug checks to affected systems
authorPaul Burton <paul.burton@mips.com>
Tue, 1 Oct 2019 23:04:32 +0000 (23:04 +0000)
committerPaul Burton <paul.burton@mips.com>
Mon, 7 Oct 2019 16:38:53 +0000 (09:38 -0700)
commit62216269a60078c657878ef3181d2bc82a0a2acc
treefbeb42baaa31a9f5c6eb2869313c2e22f9c1fa85
parent8fcbdbf00b05e7fb5f4c280514b99814ce997411
MIPS: r4k-bugs64: Limit R4k bug checks to affected systems

Only build the checks for R4k errata workarounds if we expect that the
kernel might actually run on a system with an R4k CPU - ie.
CONFIG_SYS_HAS_CPU_R4X00=y & we're targeting a pre-MIPSr1 ISA revision.

Rename cpu-bugs64.c to r4k-bugs64.c to indicate the fact that the code
is specific to R4k CPUs.

Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: linux-mips@vger.kernel.org
arch/mips/Kconfig
arch/mips/include/asm/bugs.h
arch/mips/kernel/Makefile
arch/mips/kernel/cpu-bugs64.c [deleted file]
arch/mips/kernel/genex.S
arch/mips/kernel/r4k-bugs64.c [new file with mode: 0644]