From: Catalin Marinas Date: Fri, 19 Jun 2009 15:43:08 +0000 (+0100) Subject: [ARM] 5559/1: Limit the stack unwinding caused by a kthread exit X-Git-Tag: v2.6.31-rc1~54^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=feb97c3644a560ffdf9a17c65b1df807b5b4432f;p=pandora-kernel.git [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 Signed-off-by: Catalin Marinas Signed-off-by: Russell King --- Reading git-diff-tree failed