ia64: clone() had been unused since 2004
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 30 Sep 2012 04:20:50 +0000 (00:20 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 14 Oct 2012 23:33:53 +0000 (19:33 -0400)
Used to be used by kernel_thread(); dead code for 8 years...
Note that it's not sys_clone/sys_clone2 - those are used just
fine.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/ia64/kernel/entry.S

index 1ccbe12a4d84fe6585455a45b367647b1fa2c240..6b0648d97b4c9abd22fdac8843d732496fc8f15a 100644 (file)
@@ -491,12 +491,6 @@ GLOBAL_ENTRY(kernel_execve)
        br.ret.sptk.many rp
 END(kernel_execve)
 
-GLOBAL_ENTRY(clone)
-       mov r15=__NR_clone                      // put syscall number in place
-       break __BREAK_SYSCALL
-       br.ret.sptk.many rp
-END(clone)
-
        /*
         * Invoke a system call, but do some tracing before and after the call.
         * We MUST preserve the current register frame throughout this routine