From: David Howells Date: Tue, 28 May 2013 19:21:02 +0000 (+0100) Subject: MN10300: Fix ret_from_kernel_thread X-Git-Tag: v3.10-rc4~19^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e00227d4e8017ac9c3f73bf949a06c6e27f5122;p=pandora-kernel.git MN10300: Fix ret_from_kernel_thread ret_from_kernel_thread needs to set A2 to the thread_info pointer before jumping to syscall_exit. Without this, we never correctly start userspace. This was caused by the rejuggling of the fork/exec paths in commit ddf23e87a804 ("mn10300: switch to saner kernel_execve() semantics") Reported-by: Ken Cox Signed-off-by: David Howells Acked-by: Ken Cox Acked-by: Al Viro Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed