microblaze: Microblaze wants sys_fork for noMMU too
authorMichal Simek <michal.simek@xilinx.com>
Thu, 27 Dec 2012 09:07:24 +0000 (10:07 +0100)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 3 Jan 2013 11:47:19 +0000 (12:47 +0100)
commitca073b4af90b7d2ec6fd6563bee06a68907999ad
tree0968d83cf27647576537d9590440b397f4cecd23
parentd1c3ed669a2d452cacfb48c2d171a1f364dae2ed
microblaze: Microblaze wants sys_fork for noMMU too

The patch "generic sys_fork / sys_vfork / sys_clone"
(sha1: d2125043aebf7f53cd1c72115c17b01d0bc06ce1)
introduced generic sys_fork with implementation for noMMU
which returns EINVAL for noMMU.

and the patch "microblaze: switch to generic fork/vfork/clone"
(sha1: f3268edbe6fe0ce56e62c6d6b14640aeb04864b7)
enable sys_fork only for MMU which is causing compilation
failure on noMMU system.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/microblaze/include/asm/unistd.h