On 06/05/2013 11:05 AM, Steven J. Hill wrote:
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@xxxxxxxxxx>
This looks good now, Acked-by: David Daney <david.daney@xxxxxxxxxx>
--- Changes in v4: * Removed code from 'cpu-probe.c' and added new inline function to set exception mode. * Reworded and simplified commit message. arch/mips/include/asm/mipsregs.h | 17 ++++++++++++++++- arch/mips/kernel/cpu-probe.c | 3 --- arch/mips/mti-malta/malta-init.c | 2 ++ arch/mips/mti-sead3/sead3-init.c | 2 ++ 4 files changed, 20 insertions(+), 4 deletions(-)