summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@mips.com>2019-07-22 22:00:00 +0000
committerPaul Burton <paul.burton@mips.com>2019-07-23 14:33:44 -0700
commitccd51b9fc3bf264482dab86875754c40cbe13045 (patch)
tree18456906baa5b00295b2517f03973700420c46e7 /arch/mips/kernel
parent8e96b08472e6698011d3105912031e90e7ef553f (diff)
downloadlinux-stable-ccd51b9fc3bf264482dab86875754c40cbe13045.tar.gz
linux-stable-ccd51b9fc3bf264482dab86875754c40cbe13045.tar.bz2
linux-stable-ccd51b9fc3bf264482dab86875754c40cbe13045.zip
MIPS: Remove unused R5432_CP0_INTERRUPT_WAR
R5432_CP0_INTERRUPT_WAR is defined as 0 for every system we support, and so the workaround is never used. Remove the dead code. Signed-off-by: Paul Burton <paul.burton@mips.com> Cc: linux-mips@vger.kernel.org
Diffstat (limited to 'arch/mips/kernel')
-rw-r--r--arch/mips/kernel/genex.S3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/mips/kernel/genex.S b/arch/mips/kernel/genex.S
index 398b905b027d..efde27c99414 100644
--- a/arch/mips/kernel/genex.S
+++ b/arch/mips/kernel/genex.S
@@ -32,9 +32,6 @@
NESTED(except_vec3_generic, 0, sp)
.set push
.set noat
-#if R5432_CP0_INTERRUPT_WAR
- mfc0 k0, CP0_INDEX
-#endif
mfc0 k1, CP0_CAUSE
andi k1, k1, 0x7c
#ifdef CONFIG_64BIT