diff options
author | Catalin Marinas <catalin.marinas@arm.com> | 2009-06-19 16:43:08 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-06-19 16:44:23 +0100 |
commit | feb97c3644a560ffdf9a17c65b1df807b5b4432f (patch) | |
tree | d9c84b8ad646cbf43e20c9a96e5db25b4ccd4ec6 /arch/powerpc/boot/mv64x60.c | |
parent | c894ed6956f126d60d888e8efc5fb3a595ba89ae (diff) |
[ARM] 5559/1: Limit the stack unwinding caused by a kthread exit
When a kthread function returns, it branches to do_exit(). However, the
unwinding information isn't valid anymore and any stack trace caused by
do_exit() may be incorrect. This patch adds a kernel_thread_exit()
function and annotated with '.cantunwind' so that the unwinder stops
when reaching it.
Tested-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/powerpc/boot/mv64x60.c')
0 files changed, 0 insertions, 0 deletions