diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2005-11-09 11:21:07 +1100 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-11-10 11:23:46 +1100 |
commit | c5ff700116a56a870ef40cc4ac6f19bf2530b466 (patch) | |
tree | 7806eb5e8e69ba9a0dafba8af1f859c915c3bbd5 /arch/powerpc/kernel/signal_32.c | |
parent | 31e7f1ff3c5d39a70da85f7d81a1ab1f4e64fa97 (diff) | |
download | kernel_samsung_tuna-c5ff700116a56a870ef40cc4ac6f19bf2530b466.zip kernel_samsung_tuna-c5ff700116a56a870ef40cc4ac6f19bf2530b466.tar.gz kernel_samsung_tuna-c5ff700116a56a870ef40cc4ac6f19bf2530b466.tar.bz2 |
[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>
Diffstat (limited to 'arch/powerpc/kernel/signal_32.c')
-rw-r--r-- | arch/powerpc/kernel/signal_32.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/signal_32.c b/arch/powerpc/kernel/signal_32.c index 081d931..a7c4515 100644 --- a/arch/powerpc/kernel/signal_32.c +++ b/arch/powerpc/kernel/signal_32.c @@ -42,6 +42,7 @@ #include <asm/uaccess.h> #include <asm/cacheflush.h> +#include <asm/sigcontext.h> #ifdef CONFIG_PPC64 #include "ppc32.h" #include <asm/unistd.h> |