]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
sparc: cleanup after SunOS binary emulation removal
authorAdrian Bunk <bunk@kernel.org>
Thu, 24 Apr 2008 02:15:34 +0000 (19:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Apr 2008 06:32:18 +0000 (23:32 -0700)
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>
arch/sparc/kernel/entry.S
arch/sparc/kernel/signal.c

index 135644f8add772c785f1afb84b4d5f5e86e83b33..484c83d23eef3e478f9e1ada60af29932cdb82d6 100644 (file)
@@ -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
index 1f730619a24ad048ed341845fc2c5d3128d4b8a2..3e849e8e34803778a1e6d9032fa807a41b0e1912 100644 (file)
@@ -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);