patch-2.1.40 linux/arch/sparc64/kernel/signal32.c

Next file: linux/arch/sparc64/kernel/sparcelf32.c
Previous file: linux/arch/sparc64/kernel/signal.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.39/linux/arch/sparc64/kernel/signal32.c linux/arch/sparc64/kernel/signal32.c
@@ -1,4 +1,4 @@
-/*  $Id: signal32.c,v 1.6 1997/04/16 10:27:17 jj Exp $
+/*  $Id: signal32.c,v 1.8 1997/05/18 08:42:15 davem Exp $
  *  arch/sparc64/kernel/signal32.c
  *
  *  Copyright (C) 1991, 1992  Linus Torvalds
@@ -30,8 +30,6 @@
 
 #define _BLOCKABLE (~(_S(SIGKILL) | _S(SIGSTOP)))
 
-#define synchronize_user_stack() do { } while (0)
-
 asmlinkage int sys_wait4(pid_t pid, unsigned long *stat_addr,
 			 int options, unsigned long *ru);
 
@@ -117,17 +115,6 @@
 	}
 }
 
-asmlinkage void do_sigpause32(unsigned int set, struct pt_regs *regs)
-{
-	_sigpause32_common(set, regs);
-}
-
-asmlinkage void do_sigsuspend32(struct pt_regs *regs)
-{
-	_sigpause32_common(regs->u_regs[UREG_I0], regs);
-}
-
-
 static inline void
 restore_fpu_state32(struct pt_regs *regs, __siginfo_fpu32_t *fpu)
 {
@@ -248,7 +235,9 @@
 {
 	struct signal_sframe32 *sframep;
 	struct sigcontext32 *sc;
+#if 0	
 	int window = 0;
+#endif	
 	int old_status = current->tss.sstk_info.cur_status;
 	unsigned psr;
 	int i;
@@ -424,7 +413,9 @@
 	svr4_mcontext_t *mc;
 	svr4_gwindows_t *gw;
 	svr4_ucontext_t *uc;
+#if 0	
 	int window = 0;
+#endif	
 	unsigned psr;
 	int i;
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov