summaryrefslogtreecommitdiffstats
path: root/arch/blackfin/include
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-05-01 06:48:06 +0200
committerBob Liu <lliubbo@gmail.com>2012-05-21 08:54:39 +0200
commit080bb657eb0d02d0df73e62572eb814aebf66850 (patch)
tree77cc6b532ff34bef6c427931fd1109b86517fb53 /arch/blackfin/include
parentBlackfin: fix unused clk var warning (diff)
downloadlinux-080bb657eb0d02d0df73e62572eb814aebf66850.tar.xz
linux-080bb657eb0d02d0df73e62572eb814aebf66850.zip
Blackfin: delete fork func
We don't implement fork() since we are no-mmu, so redirect it to the existing ENOSYS stub rather than adding a custom EINVAL one. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Bob Liu <lliubbo@gmail.com>
Diffstat (limited to 'arch/blackfin/include')
-rw-r--r--arch/blackfin/include/asm/unistd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/blackfin/include/asm/unistd.h b/arch/blackfin/include/asm/unistd.h
index 75ec9df5318b..3287222cba34 100644
--- a/arch/blackfin/include/asm/unistd.h
+++ b/arch/blackfin/include/asm/unistd.h
@@ -11,7 +11,7 @@
*/
#define __NR_restart_syscall 0
#define __NR_exit 1
-#define __NR_fork 2
+ /* 2 __NR_fork not supported on nommu */
#define __NR_read 3
#define __NR_write 4
#define __NR_open 5