]> Git Repo - linux.git/commit
[ARM] 5559/1: Limit the stack unwinding caused by a kthread exit
authorCatalin Marinas <[email protected]>
Fri, 19 Jun 2009 15:43:08 +0000 (16:43 +0100)
committerRussell King <[email protected]>
Fri, 19 Jun 2009 15:44:23 +0000 (16:44 +0100)
commitfeb97c3644a560ffdf9a17c65b1df807b5b4432f
treed9c84b8ad646cbf43e20c9a96e5db25b4ccd4ec6
parentc894ed6956f126d60d888e8efc5fb3a595ba89ae
[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 <[email protected]>
Signed-off-by: Catalin Marinas <[email protected]>
Signed-off-by: Russell King <[email protected]>
arch/arm/kernel/process.c
This page took 0.056392 seconds and 4 git commands to generate.