aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/signal_32.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2007-06-04 01:15:50 -0400
committerPaul Mackerras <paulus@samba.org>2007-06-14 08:29:57 -0400
commit69d15f6b352a681f1db9bc70219a3e8e9d503dbf (patch)
tree07c844fcff3bddce3620d0e88e64383b0b1543b6 /arch/powerpc/kernel/signal_32.c
parent22e38f29328296d9d4cc33e46fd32a63e807abaf (diff)
[POWERPC] Consolidate sys_sigaltstack
sys_sigaltstack is the same on 32bit and 64 and we can consolidate it to signal.c. The only difference is that the 32bit code uses ints for the unused register paramaters and 64bit unsigned long. I've changed it to unsigned long because it's the same width on 32bit. (I also wonder who came up with this awkward calling convention.. :)) Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/signal_32.c')
-rw-r--r--arch/powerpc/kernel/signal_32.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/powerpc/kernel/signal_32.c b/arch/powerpc/kernel/signal_32.c
index e5cc803476a1..f5713bfcc56e 100644
--- a/arch/powerpc/kernel/signal_32.c
+++ b/arch/powerpc/kernel/signal_32.c
@@ -253,14 +253,6 @@ long sys_sigsuspend(old_sigset_t mask)
253 return -ERESTARTNOHAND; 253 return -ERESTARTNOHAND;
254} 254}
255 255
256#ifdef CONFIG_PPC32
257long sys_sigaltstack(const stack_t __user *uss, stack_t __user *uoss, int r5,
258 int r6, int r7, int r8, struct pt_regs *regs)
259{
260 return do_sigaltstack(uss, uoss, regs->gpr[1]);
261}
262#endif
263
264long sys_sigaction(int sig, struct old_sigaction __user *act, 256long sys_sigaction(int sig, struct old_sigaction __user *act,
265 struct old_sigaction __user *oact) 257 struct old_sigaction __user *oact)
266{ 258{