linux/arch/mn10300/kernel
David Howells 1e00227d4e 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
ddf23e87a8 ("mn10300: switch to saner kernel_execve() semantics")

Reported-by: Ken Cox <jkc@redhat.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Ken Cox <jkc@redhat.com>
Acked-by: Al Viro <viro@ZenIV.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-05-30 13:38:48 +09:00
..
Makefile mn10300: switch to generic kernel_execve() 2012-10-01 00:53:59 -04:00
asm-offsets.c MN10300: fix SMP synchronization between txdma and serial driver 2012-12-12 15:46:14 +00:00
cevt-mn10300.c mn10300: move setup_jiffies_interrupt() to cevt-mn10300.c 2012-07-11 16:04:41 -07:00
csrc-mn10300.c
entry.S MN10300: Fix ret_from_kernel_thread 2013-05-30 13:38:48 +09:00
fpu-low.S
fpu-nofpu-low.S
fpu-nofpu.c
fpu.c Disintegrate asm/system.h for MN10300 2012-03-28 18:30:02 +01:00
gdb-io-serial-low.S
gdb-io-serial.c Disintegrate asm/system.h for MN10300 2012-03-28 18:30:02 +01:00
gdb-io-ttysm-low.S
gdb-io-ttysm.c Disintegrate asm/system.h for MN10300 2012-03-28 18:30:02 +01:00
gdb-low.S
gdb-stub.c Disintegrate asm/system.h for MN10300 2012-03-28 18:30:02 +01:00
head.S
internal.h mn10300: split ret_from_fork, simplify kernel_thread() 2012-10-01 00:53:24 -04:00
io.c
irq.c MN10300: cleanup IRQ affinity setting 2012-12-12 15:46:14 +00:00
kgdb.c mn10300: Use common threadinfo allocator 2012-05-08 14:08:45 +02:00
kprobes.c
mn10300-debug.c
mn10300-serial-low.S MN10300: fix SMP synchronization between txdma and serial driver 2012-12-12 15:46:14 +00:00
mn10300-serial.c TTY: mn10300-serial, fix build breakage 2013-01-16 07:36:47 -08:00
mn10300-serial.h MN10300: ttySM: clean up unnecessary casting 2012-12-12 15:46:14 +00:00
mn10300-watchdog-low.S
mn10300-watchdog.c Disintegrate asm/system.h for MN10300 2012-03-28 18:30:02 +01:00
mn10300_ksyms.c
module.c modules: make arch's use default loader hooks 2011-07-24 22:06:04 +09:30
process.c dump_stack: unify debug information printed by show_regs() 2013-04-30 17:04:02 -07:00
profile-low.S
profile.c
ptrace.c Disintegrate asm/system.h for MN10300 2012-03-28 18:30:02 +01:00
rtc.c
setup.c Disintegrate asm/system.h for MN10300 2012-03-28 18:30:02 +01:00
sigframe.h
signal.c mn10300: switch to generic old sigaction() 2013-02-03 18:16:04 -05:00
smp-low.S Disintegrate asm/system.h for MN10300 2012-03-28 18:30:02 +01:00
smp.c mn10300: Use generic idle loop 2013-04-08 17:39:27 +02:00
switch_to.S
sys_mn10300.c
time.c
traps.c dump_stack: consolidate dump_stack() implementations and unify their behaviors 2013-04-30 17:04:02 -07:00
vmlinux.lds.S MN10300: Add missing _sdata declaration 2011-06-07 19:03:53 -07:00