kernel-ark/arch/microblaze/kernel
Michal Simek 570e3e236e microblaze: Fix sys_clone syscall
sys_clone syscall ignored args which this patch mapped to args
which are passing from glibc.

Here is the origin problem description.

"I ran the static libgcc tests (very few of them are there, they are
mostly dynamically linked) and some of  them fail with an assertion in
fork() system call (tid != pid), I looked at the microblaze/entry.S
file and it looks suspicious (ignores arguments 3-5)"

Arg mapping should be:
glibc ARCH_FORK(...) -> do_fork(...)
r5 -> r5   (clone_flags)
r6  -> r6 (stack_start, use parent->stack if NULL)
pt_regs -> r7 (pt_regs)
r7 -> r8 (stack_size)
r8 -> r9 (parent_tidptr)
r9 -> r10 (child_tidptr)

Signed-off-by: John Williams <john.williams@petalogix.com>
Signed-off-by: Michal Simek <monstr@monstr.eu>
2010-08-04 10:22:32 +02:00
..
cpu microblaze: Remove compilation warnings in cache macro 2010-05-13 10:55:47 +02:00
asm-offsets.c microblaze: Remove "cache" optimized copy_page function 2010-05-06 11:21:58 +02:00
dma.c microblaze: Fix sg_dma_len() regression 2010-06-09 16:20:54 +02:00
early_printk.c
entry-nommu.S microblaze: re-enable interrupts before calling schedule 2010-05-13 09:21:01 +02:00
entry.S microblaze: Fix sys_clone syscall 2010-08-04 10:22:32 +02:00
exceptions.c microblaze: fix divide by zero exception message 2010-05-06 11:21:58 +02:00
ftrace.c microblaze: Fix ftrace_update_ftrace_func panic 2010-04-07 07:27:25 +02:00
head.S microblaze: Quiet section mismatch warnings 2010-05-06 11:21:57 +02:00
heartbeat.c microblaze: Fix the heartbeat gpio to be more robust 2009-12-14 08:45:03 +01:00
hw_exception_handler.S microblaze: Use instruction with delay slot 2010-04-01 08:38:23 +02:00
init_task.c
intc.c microblaze: Fix level interrupt ACKing 2009-12-14 08:45:06 +01:00
irq.c microblaze: Fix IRQ entry/exit ftracing 2010-05-06 11:21:57 +02:00
Makefile microblaze: Support DMA 2010-03-11 13:56:29 +01:00
mcount.S microblaze: ftrace: Add dynamic function graph tracer 2009-12-14 08:44:54 +01:00
microblaze_ksyms.c microblaze: export assembly functions used by modules 2010-05-13 12:11:42 +02:00
misc.S microblaze: Fix comment for TLB 2010-08-02 10:44:03 +02:00
module.c microblaze: Fix module loading on system with WB cache 2010-05-14 07:43:38 +02:00
of_device.c arch/microblaze: Move dma_mask from of_device into pdev_archdata 2010-05-22 00:10:40 -06:00
of_platform.c arch/microblaze: Move dma_mask from of_device into pdev_archdata 2010-05-22 00:10:40 -06:00
process.c microblaze: Adding likely macros 2010-04-01 08:38:24 +02:00
prom_parse.c microblaze: pci_controller->arch_data really is a struct device_node * 2010-01-18 16:36:07 +01:00
prom.c lmb: rename to memblock 2010-07-14 17:14:00 +10:00
ptrace.c microblaze: Fix copy_to_user_page macro 2010-08-04 10:22:31 +02:00
reset.c microblaze: Support both levels for reset 2009-12-14 08:44:56 +01:00
selfmod.c
setup.c microblaze: Print early printk information to log buffer 2010-04-01 08:38:25 +02:00
signal.c microblaze: Remove rt_sigsuspend wrapper 2009-12-14 08:45:12 +01:00
stacktrace.c microblaze: Stack trace support 2009-12-14 08:40:09 +01:00
sys_microblaze.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
syscall_table.S microblaze: Enable accept4 syscall 2010-01-18 16:35:27 +01:00
timer.c microblaze: Register timecounter/cyclecounter 2009-12-14 08:40:09 +01:00
traps.c microblaze: Remove ancient code 2010-05-06 11:21:58 +02:00
vmlinux.lds.S microblaze: Quiet section mismatch warnings 2010-05-06 11:21:57 +02:00