Skip to content

Commit

Permalink
sparc: cleanup after SunOS binary emulation removal
Browse files Browse the repository at this point in the history
The following cleanups are now possible:
- arch/sparc/kernel/entry.S:ret_sys_call no longer has to be global
- arch/sparc/kernel/signal.c:sys_sigpause() can be removed

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Adrian Bunk authored and David S. Miller committed Apr 24, 2008
1 parent 919ee67 commit a5c5642
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion arch/sparc/kernel/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -1409,7 +1409,6 @@ syscall_is_too_hard:

st %o0, [%sp + STACKFRAME_SZ + PT_I0]

.globl ret_sys_call
ret_sys_call:
ld [%curptr + TI_FLAGS], %l6
cmp %o0, -ERESTART_RESTARTBLOCK
Expand Down
5 changes: 0 additions & 5 deletions arch/sparc/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,6 @@ static int _sigpause_common(old_sigset_t set)
return -ERESTARTNOHAND;
}

asmlinkage int sys_sigpause(unsigned int set)
{
return _sigpause_common(set);
}

asmlinkage int sys_sigsuspend(old_sigset_t set)
{
return _sigpause_common(set);
Expand Down

0 comments on commit a5c5642

Please sign in to comment.