summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/traps.c
diff options
context:
space:
mode:
authorMarkos Chandras <markos.chandras@imgtec.com>2015-07-09 11:40:36 +0200
committerRalf Baechle <ralf@linux-mips.org>2015-08-26 15:23:03 +0200
commit4e88a8621301b992e8e3422e08bfb604772f3338 (patch)
tree8a643c240850d91b6a173a5a9c9df0351a368552 /arch/mips/kernel/traps.c
parentMIPS: Add MIPS I6400 PRid and cputype identifiers (diff)
downloadlinux-4e88a8621301b992e8e3422e08bfb604772f3338.tar.xz
linux-4e88a8621301b992e8e3422e08bfb604772f3338.zip
MIPS: Add cases for CPU_I6400
Add a CPU_I6400 case to various switch statements, doing the same thing as for CPU_P5600. Signed-off-by: Markos Chandras <markos.chandras@imgtec.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/10635/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/traps.c')
-rw-r--r--arch/mips/kernel/traps.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/kernel/traps.c b/arch/mips/kernel/traps.c
index 8ea28e6ab37d..01da120d75c4 100644
--- a/arch/mips/kernel/traps.c
+++ b/arch/mips/kernel/traps.c
@@ -1651,6 +1651,7 @@ static inline void parity_protection_init(void)
case CPU_PROAPTIV:
case CPU_P5600:
case CPU_QEMU_GENERIC:
+ case CPU_I6400:
{
#define ERRCTL_PE 0x80000000
#define ERRCTL_L2P 0x00800000