]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbeaa9d93c482c20ffa8c85b0d49ec579148a3e21
tree78a665064e6cc288bb34ef20cd543c2feb204838
parent5b5b22549b8f20072204425682fa0db33e356cf1
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]