diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-10-26 09:54:47 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-11-28 22:44:45 -0500 |
commit | dfe09ae0e5fe40679af05b1ba810d469844c97b3 (patch) | |
tree | 0131917cc3c8f7e1cb5126e43064a01d2e1cab1c /arch/alpha/kernel/process.c | |
parent | 87f1ca8fd9f00cc024a141623d042ca4319e12c1 (diff) | |
download | op-kernel-dev-dfe09ae0e5fe40679af05b1ba810d469844c97b3.zip op-kernel-dev-dfe09ae0e5fe40679af05b1ba810d469844c97b3.tar.gz |
alpha: switch to generic fork/vfork/clone
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'arch/alpha/kernel/process.c')
-rw-r--r-- | arch/alpha/kernel/process.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/arch/alpha/kernel/process.c b/arch/alpha/kernel/process.c index a4dc79ba..e9705bc 100644 --- a/arch/alpha/kernel/process.c +++ b/arch/alpha/kernel/process.c @@ -235,31 +235,6 @@ release_thread(struct task_struct *dead_task) } /* - * "alpha_clone()".. By the time we get here, the - * non-volatile registers have also been saved on the - * stack. We do some ugly pointer stuff here.. (see - * also copy_thread) - * - * Notice that "fork()" is implemented in terms of clone, - * with parameters (SIGCHLD, 0). - */ -int -alpha_clone(unsigned long clone_flags, unsigned long usp, - int __user *parent_tid, int __user *child_tid, - unsigned long tls_value) -{ - return do_fork(clone_flags, usp, current_pt_regs(), 0, - parent_tid, child_tid); -} - -int -alpha_vfork(void) -{ - return do_fork(CLONE_VFORK | CLONE_VM | SIGCHLD, 0, - current_pt_regs(), 0, NULL, NULL); -} - -/* * Copy an alpha thread.. */ |