aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/kernel/calls.S
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2009-06-19 16:43:08 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2009-06-19 16:44:23 +0100
commitfeb97c3644a560ffdf9a17c65b1df807b5b4432f (patch)
treed9c84b8ad646cbf43e20c9a96e5db25b4ccd4ec6 /arch/arm/kernel/calls.S
parentc894ed6956f126d60d888e8efc5fb3a595ba89ae (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/arm/kernel/calls.S')
0 files changed, 0 insertions, 0 deletions