diff options
| author | David Howells <[email protected]> | 2013-05-28 19:21:02 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2013-05-30 04:38:48 +0000 |
| commit | 1e00227d4e8017ac9c3f73bf949a06c6e27f5122 (patch) | |
| tree | 4c95be672e90ea282807a2d8d30367d550d0b5e8 /tools/perf/util/scripting-engines/trace-event-perl.c | |
| parent | Linux 3.10-rc3 (diff) | |
| download | kernel-1e00227d4e8017ac9c3f73bf949a06c6e27f5122.tar.gz kernel-1e00227d4e8017ac9c3f73bf949a06c6e27f5122.zip | |
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 <[email protected]>
Signed-off-by: David Howells <[email protected]>
Acked-by: Ken Cox <[email protected]>
Acked-by: Al Viro <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions
