sh: Replace DEBUG_STACKOVERFLOW with STACK_DEBUG.
authorPaul Mundt <lethal@linux-sh.org>
Sat, 11 Jul 2009 11:05:34 +0000 (20:05 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Sat, 11 Jul 2009 11:05:34 +0000 (20:05 +0900)
commit9f14b84afda297d301b81a5bcbd65e83d7b02034
treec9e65509cb06d0cda8c99c68421196f6b76e6b60
parent473d1cf4ee623b043790838bcf77e77958840bf2
sh: Replace DEBUG_STACKOVERFLOW with STACK_DEBUG.

STACK_DEBUG ties in to mcount in order to do function-granular stack
overflow checks as opposed to lazily checking from IRQ context. As the
default is nohz, the frequency of overflow checking is too irregular to
catch much useful information, and so the mcount approach employed by
sparc64 is adopted instead.

This kills off the old check entirely from the do_IRQ() path and now
adopts CONFIG_MCOUNT instead.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/Kconfig.debug
arch/sh/kernel/irq.c
This page took 0.026142 seconds and 5 git commands to generate.