]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitcef0911613e6d56eb1a0f657fcde521ee9155e60
tree48dbc7a170eff5e16c3a1f6bf4fe53ab168c4e83
parentb680d4dc42abbc5ddb88ee260faa521c70407737
[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