From: Jeff Dike Date: Tue, 5 Feb 2008 06:30:36 +0000 (-0800) Subject: uml: implement get_wchan X-Git-Tag: v2.6.25-rc1~865 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c11274655558e72d8d4a598c0077874c094d97d5;p=pandora-kernel.git uml: implement get_wchan Implement get_wchan - the algorithm is similar to x86. It starts with the stack pointer of the process in question and looks above that for addresses that are kernel text. The second one which isn't in the scheduler is the one that's returned. The first one is ignored because that will be UML's own context switching routine. Signed-off-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed