[PATCH] powerpc: Merge signal.h
authorDavid Gibson <david@gibson.dropbear.id.au>
Wed, 9 Nov 2005 00:21:07 +0000 (11:21 +1100)
committerPaul Mackerras <paulus@samba.org>
Thu, 10 Nov 2005 00:23:46 +0000 (11:23 +1100)
commitc5ff700116a56a870ef40cc4ac6f19bf2530b466
tree7806eb5e8e69ba9a0dafba8af1f859c915c3bbd5
parent31e7f1ff3c5d39a70da85f7d81a1ab1f4e64fa97
[PATCH] powerpc: Merge signal.h

Having already merged the ppc and ppc64 versions of signal.c, this
patch finishes the job by merging signal.h.  The two versions were
almost identical already.  Notable changes:
- We use BITS_PER_LONG to correctly size sigset_t
- Remove some uneeded #includes and struct forward
declarations.  This does mean adding an include to signal_32.c which
relied on the indirect inclusion of sigcontext.h
- As the ppc64 version, the merged signal.h has prototypes for
do_signal() and do_signal32().  Thus remove extra prototypes from
ppc_ksyms.c which had them directly.

Built and booted on POWER5 LPAR (ARCH=ppc64 and ARCH=powerpc).  Built
for 32-bit powermac (ARCH=ppc and ARCH=powerpc) and Walnut (ARCH=ppc).

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/ppc_ksyms.c
arch/powerpc/kernel/signal_32.c
arch/ppc/kernel/ppc_ksyms.c
include/asm-powerpc/signal.h [new file with mode: 0644]
include/asm-ppc/signal.h [deleted file]
include/asm-ppc64/signal.h [deleted file]