MIPS: Switch FPU emulator trap to BREAK instruction.
authorRalf Baechle <ralf@linux-mips.org>
Tue, 28 Oct 2008 17:38:42 +0000 (17:38 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 30 Oct 2008 14:44:34 +0000 (14:44 +0000)
commitba3049ed4086737dab200b6087138a4b8e06915d
tree78a665064e6cc288bb34ef20cd543c2feb204838
parent076c6e4f4d81113615f50e5bc2c569f628bcd54a
MIPS: Switch FPU emulator trap to BREAK instruction.

Arguably using the address error handler has always been ugly.  But with
processors that handle unaligned loads and stores in hardware the
current mechanism ceases to work so switch it to a BREAK instruction and
allocate break code 514 to the FPU emulator.

Yoichi Yuasa provided a build fix for CONFIG_BUG=n.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>
arch/mips/include/asm/break.h
arch/mips/include/asm/fpu_emulator.h
arch/mips/kernel/traps.c
arch/mips/kernel/unaligned.c
arch/mips/math-emu/cp1emu.c
arch/mips/math-emu/dsemul.c
arch/mips/math-emu/dsemul.h [deleted file]