diff options
author | 2009-06-19 16:43:08 +0100 | |
---|---|---|
committer | 2009-06-19 16:44:23 +0100 | |
commit | feb97c3644a560ffdf9a17c65b1df807b5b4432f (patch) | |
tree | d9c84b8ad646cbf43e20c9a96e5db25b4ccd4ec6 /lib/fault-inject.c | |
parent | [ARM] 5558/1: Add extra checks to ARM unwinder to avoid tracing corrupt stacks (diff) | |
download | wireguard-linux-feb97c3644a560ffdf9a17c65b1df807b5b4432f.tar.xz wireguard-linux-feb97c3644a560ffdf9a17c65b1df807b5b4432f.zip |
[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 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions