android_kernel_samsung_msm8976/arch/microblaze
Michal Simek 4f01c72ef3 microblaze: fix clone syscall
commit dfa9771a7c4784bafd0673bc7abcee3813088b77 upstream.

Fix inadvertent breakage in the clone syscall ABI for Microblaze that
was introduced in commit f3268edbe6 ("microblaze: switch to generic
fork/vfork/clone").

The Microblaze syscall ABI for clone takes the parent tid address in the
4th argument; the third argument slot is used for the stack size.  The
incorrectly-used CLONE_BACKWARDS type assigned parent tid to the 3rd
slot.

This commit restores the original ABI so that existing userspace libc
code will work correctly.

All kernel versions from v3.8-rc1 were affected.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-08-20 08:43:02 -07:00
..
boot microblaze: Add .gitignore entries for auto-generated files 2013-02-12 11:24:44 +01:00
configs microblaze: Do not select OPT_LIB_ASM by default 2013-05-09 09:04:31 +02:00
include microblaze: Use static inline functions in cacheflush.h 2013-06-03 11:33:23 +02:00
kernel microblaze: Initialize temp variable to remove compilation warning 2013-05-14 09:09:08 +02:00
lib microblaze: Do not use module.h in files which are not modules 2013-02-12 11:24:45 +01:00
mm microblaze: Fix initrd support 2013-05-09 09:04:31 +02:00
oprofile
pci microblaze: pci: Remove duplicated include from pci-common.c 2013-05-09 09:01:21 +02:00
platform arch/microblaze/platform: remove depends on CONFIG_EXPERIMENTAL 2013-01-17 12:11:26 -08:00
Kconfig microblaze: fix clone syscall 2013-08-20 08:43:02 -07:00
Kconfig.debug
Makefile microblaze: Makefile clean 2013-02-12 11:24:44 +01:00