From: Bodo Stroesser Date: Fri, 29 Jul 2005 04:16:06 +0000 (-0700) Subject: [PATCH] uml: Fix skas0 stub return X-Git-Tag: v2.6.13-rc5~119 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9057e9deee648cb2824d83b9eb7058edb5442a21;p=pandora-kernel.git [PATCH] uml: Fix skas0 stub return It's wrong to pop a fixed number of words from stack before calling sigreturn, as the number depends on what code is generated by the compiler for the start of stub_segv_handler(). What we need is esp containing the address of sigcontext. So we explicitly load that pointer into esp. Signed-off-by: Bodo Stroesser Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed