sh: Provide diagnostic kernel stack checks
authorMatt Fleming <matt@console-pimps.org>
Sat, 11 Jul 2009 01:00:23 +0000 (01:00 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Sat, 11 Jul 2009 01:07:58 +0000 (10:07 +0900)
commitb99610fb9cdf390965c62c22322596d961591160
tree0c836b4390370b4848f151e3b3cbe27e6d8b48e2
parentc652d780c9cf7f860141de232b37160fe013feca
sh: Provide diagnostic kernel stack checks

Enable kernel stack checking code in both the dynamic ftrace and mcount
code paths. Check the stack to see if it's overflowing and make sure
that the stack pointer contains an address that's either in init_stack
or after the bss.

Signed-off-by: Matt Fleming <matt@console-pimps.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/Kconfig.debug
arch/sh/kernel/asm-offsets.c
arch/sh/lib/mcount.S
This page took 0.026901 seconds and 5 git commands to generate.