[MIPS] Use conditional traps for BUG_ON on MIPS II and better.
authorRalf Baechle <ralf@linux-mips.org>
Mon, 16 Oct 2006 00:38:50 +0000 (01:38 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 30 Nov 2006 01:14:50 +0000 (01:14 +0000)
commit63dc68a8cf60cb110b147dab1704d990808b39e2
tree48dbc7a170eff5e16c3a1f6bf4fe53ab168c4e83
parent005985609ff72df3257fde6b29aa9d71342c2a6b
[MIPS] Use conditional traps for BUG_ON on MIPS II and better.

This shaves of around 4kB and a few cycles for the average kernel that
has CONFIG_BUG enabled.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/kernel/traps.c
include/asm-mips/bug.h
include/asm-mips/ptrace.h