summaryrefslogtreecommitdiffstats
path: root/arch/um/sys-i386
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2008-02-05 07:30:36 +0100
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-05 18:44:25 +0100
commitc11274655558e72d8d4a598c0077874c094d97d5 (patch)
treec7d13b5aeb4994a1c03ec6a5edd723ba06fd94da /arch/um/sys-i386
parentuml: code tidying under arch/um/os-Linux (diff)
downloadlinux-c11274655558e72d8d4a598c0077874c094d97d5.tar.xz
linux-c11274655558e72d8d4a598c0077874c094d97d5.zip
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 <jdike@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/sys-i386')
0 files changed, 0 insertions, 0 deletions