summaryrefslogtreecommitdiffstats
path: root/arch/alpha/kernel/process.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-10-26 15:54:47 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2012-11-29 04:44:45 +0100
commitdfe09ae0e5fe40679af05b1ba810d469844c97b3 (patch)
tree0131917cc3c8f7e1cb5126e43064a01d2e1cab1c /arch/alpha/kernel/process.c
parents390: switch to generic fork/vfork/clone (diff)
downloadlinux-dfe09ae0e5fe40679af05b1ba810d469844c97b3.tar.xz
linux-dfe09ae0e5fe40679af05b1ba810d469844c97b3.zip
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.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/arch/alpha/kernel/process.c b/arch/alpha/kernel/process.c
index a4dc79ba030f..e9705bcc96f9 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..
*/