diff options
author | Paul Burton <paul.burton@mips.com> | 2019-10-02 01:04:32 +0200 |
---|---|---|
committer | Paul Burton <paul.burton@mips.com> | 2019-10-07 18:38:53 +0200 |
commit | 071d2f0b5419d3cf80cc8ba73ec8fe2cedc4cc0c (patch) | |
tree | fbeb42baaa31a9f5c6eb2869313c2e22f9c1fa85 /arch/mips/kernel/genex.S | |
parent | MIPS: SGI-IP27: get rid of compact node ids (diff) | |
download | linux-071d2f0b5419d3cf80cc8ba73ec8fe2cedc4cc0c.tar.xz linux-071d2f0b5419d3cf80cc8ba73ec8fe2cedc4cc0c.zip |
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
Diffstat (limited to 'arch/mips/kernel/genex.S')
-rw-r--r-- | arch/mips/kernel/genex.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/genex.S b/arch/mips/kernel/genex.S index efde27c99414..d586cdac9605 100644 --- a/arch/mips/kernel/genex.S +++ b/arch/mips/kernel/genex.S @@ -657,7 +657,7 @@ isrdhwr: .set pop END(handle_ri_rdhwr) -#ifdef CONFIG_64BIT +#ifdef CONFIG_CPU_R4X00_BUGS64 /* A temporary overflow handler used by check_daddi(). */ __INIT |