]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: microMIPS: Fix improper definition of ISA exception bit.
authorSteven J. Hill <Steven.Hill@imgtec.com>
Wed, 5 Jun 2013 21:25:17 +0000 (21:25 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 1 Jul 2013 13:10:58 +0000 (15:10 +0200)
commit176a00821fd8fdfec4b31d3ed31f82afb9b6fe6f
tree1b0eb42862e8b71accb5d2a0021400eea99d79a6
parent206987a000e329ea90e2ee5b2d4d25c2fcd7aa94
MIPS: microMIPS: Fix improper definition of ISA exception bit.

The ISA exception bit selects whether exceptions are taken in classic
or microMIPS mode. This bit is Config3.ISAOnExc and was improperly
defined as bits 16 and 17 instead of just bit 16. A new function was
added so that platforms could set this bit when running a kernel
compiled with only microMIPS instructions.

Signed-off-by: Steven J. Hill <Steven.Hill@imgtec.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/5377/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/mipsregs.h
arch/mips/kernel/cpu-probe.c
arch/mips/kernel/traps.c