diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-10-27 00:03:41 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-11-28 22:43:40 -0500 |
commit | f3268edbe6fe0ce56e62c6d6b14640aeb04864b7 (patch) | |
tree | 1ff80222598a1f259ab1910affe0740478090369 /arch/microblaze/kernel/sys_microblaze.c | |
parent | f01aceac61ad5cc9ea463f6bb185c1f72702357f (diff) | |
download | op-kernel-dev-f3268edbe6fe0ce56e62c6d6b14640aeb04864b7.zip op-kernel-dev-f3268edbe6fe0ce56e62c6d6b14640aeb04864b7.tar.gz |
microblaze: switch to generic fork/vfork/clone
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/microblaze/kernel/sys_microblaze.c')
-rw-r--r-- | arch/microblaze/kernel/sys_microblaze.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/microblaze/kernel/sys_microblaze.c b/arch/microblaze/kernel/sys_microblaze.c index a6a7bae..63647c5 100644 --- a/arch/microblaze/kernel/sys_microblaze.c +++ b/arch/microblaze/kernel/sys_microblaze.c @@ -34,20 +34,6 @@ #include <asm/syscalls.h> -asmlinkage long microblaze_vfork(struct pt_regs *regs) -{ - return do_fork(CLONE_VFORK | CLONE_VM | SIGCHLD, regs->r1, - regs, 0, NULL, NULL); -} - -asmlinkage long microblaze_clone(int flags, unsigned long stack, - struct pt_regs *regs) -{ - if (!stack) - stack = regs->r1; - return do_fork(flags, stack, regs, 0, NULL, NULL); -} - asmlinkage long sys_mmap(unsigned long addr, unsigned long len, unsigned long prot, unsigned long flags, unsigned long fd, off_t pgoff) |