]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] Consolidate sys_sigaltstack
authorChristoph Hellwig <hch@lst.de>
Mon, 4 Jun 2007 05:15:50 +0000 (15:15 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 14 Jun 2007 12:29:57 +0000 (22:29 +1000)
commit8b94ba85e5001878536acfd6b9fa37a276c74923
tree07c844fcff3bddce3620d0e88e64383b0b1543b6
parent8546fe7023a31b68519dc1f70cc6acc965aec6ce
[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>
arch/powerpc/kernel/signal.c
arch/powerpc/kernel/signal_32.c
arch/powerpc/kernel/signal_64.c
include/asm-powerpc/syscalls.h