Browse Source

ia64: clone() had been unused since 2004

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>
Al Viro 12 years ago
parent
commit
a8b8f66250
1 changed files with 0 additions and 6 deletions
  1. 0 6
      arch/ia64/kernel/entry.S

+ 0 - 6
arch/ia64/kernel/entry.S

@@ -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