From: Paolo 'Blaisorblade' Giarrusso Date: Fri, 31 Mar 2006 10:30:24 +0000 (-0800) Subject: [PATCH] uml: add arch_switch_to for newly forked thread X-Git-Tag: v2.6.17-rc1~104 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54d8d3b5a0ce1cdbad1d3154c9ea9732d394e9c7;p=pandora-kernel.git [PATCH] uml: add arch_switch_to for newly forked thread Newly forked threads have no arch_switch_to_skas() called before their first run, because when schedule() switches to them they're resumed in the body of thread_wait() inside fork_handler() rather than in switch_threads() in switch_to_skas(). Compensate this missing call. Signed-off-by: Paolo 'Blaisorblade' Giarrusso Acked-by: Jeff Dike Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed