[POWERPC] Consolidate do_signal
commitf478f5430c8a599f46c41e8172a507a5772a6b69
authorChristoph Hellwig <hch@lst.de>
Mon, 4 Jun 2007 05:15:52 +0000 (4 15:15 +1000)
committerPaul Mackerras <paulus@samba.org>
Thu, 14 Jun 2007 12:29:58 +0000 (14 22:29 +1000)
treece42723ed517a82a5e73b45cfe52a3bd338c1a4d
parentdb277e9a67b9d81b9d6cd74edf0c3e1a0ef2aa4b
[POWERPC] Consolidate do_signal

do_signal has exactly the same behaviour on 32bit and 64bit and 32bit
compat on 64bit for handling 32bit signals.  Consolidate all these
into one common function in signal.c.  The only odd left over is
the try_to_free in the 32bit version that no other architecture has
in mainline (only in i386 for some odd SuSE release).  We should
probably get rid of it in a separate patch.

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.h
arch/powerpc/kernel/signal_32.c
arch/powerpc/kernel/signal_64.c