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)
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

index a5f06ac97113d0aa4b8338f06ac3d6c5d5f5b411..10f8ac186855300af1fba9b374ddc581717b2356 100644 (file)
@@ -37,9 +37,7 @@
 #define __ARCH_WANT_SYS_RT_SIGSUSPEND
 #define __ARCH_WANT_SYS_CLONE
 #define __ARCH_WANT_SYS_VFORK
-#ifdef CONFIG_MMU
 #define __ARCH_WANT_SYS_FORK
-#endif
 
 /*
  * "Conditional" syscalls