Skip to content

Commit

Permalink
ia64: clone() had been unused since 2004
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Al Viro committed Oct 14, 2012
1 parent ddffeb8 commit a8b8f66
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions arch/ia64/kernel/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a8b8f66

Please sign in to comment.