OpenCloudOS-Kernel/arch/microblaze
Michal Simek dfa9771a7c microblaze: fix clone syscall
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>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2013-08-13 17:57:48 -07:00
..
boot microblaze: Add .gitignore entries for auto-generated files 2013-02-12 11:24:44 +01:00
configs microblaze: Enable KGDB in defconfig 2013-06-26 11:36:55 +02:00
include Merge branch 'next' of git://git.monstr.eu/linux-2.6-microblaze 2013-07-10 10:16:07 -07:00
kernel microblaze: Don't mark arch_kgdb_ops as const. 2013-06-26 11:36:55 +02:00
lib microblaze: Do not use module.h in files which are not modules 2013-02-12 11:24:45 +01:00
mm mm/microblaze: prepare for removing num_physpages and simplify mem_init() 2013-07-03 16:07:36 -07:00
oprofile microblaze: Core oprofile configs and hooks 2009-12-14 08:45:07 +01:00
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-13 17:57:48 -07:00
Kconfig.debug microblaze: remove obsolete DEBUG_BOOTMEM 2011-01-10 09:29:51 +01:00
Makefile microblaze: Makefile clean 2013-02-12 11:24:44 +01:00