]> git.neil.brown.name Git - history.git/commit
[PATCH] consolidate do_signal
authorStephen Rothwell <sfr@canb.auug.org.au>
Tue, 28 May 2002 12:52:39 +0000 (05:52 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Tue, 28 May 2002 12:52:39 +0000 (05:52 -0700)
commite9946e06433a1225296329310ebd4a393c5a7062
tree8588b128e72b6726d44997e98351162ee3eef9a1
parent6ba85d4cc98d7db66e4311c1d0fa3daea1894cb8
[PATCH] consolidate do_signal

11 out of our 17 architectures have basically the same code
in arch/../kernel/signal.c:do_signal.  This patch creates a
common function for that bit of code and uses it in the places
it can be.

The 2.5.15 version of this patch builds and runs on i386 and PPC and has
been briefly looked at by the CRIS, PARISC, PPC64 and x86_64 maintainers.

As a bonus, this fixes the "ignore SIGURG" bug for 9 more architectures
(i386 and PPC already were fixed).
22 files changed:
arch/cris/kernel/signal.c
arch/i386/kernel/signal.c
arch/mips/kernel/signal.c
arch/mips64/kernel/signal.c
arch/mips64/kernel/signal32.c
arch/parisc/kernel/signal.c
arch/ppc/kernel/signal.c
arch/ppc64/kernel/signal.c
arch/ppc64/kernel/signal32.c
arch/s390/kernel/signal.c
arch/s390x/kernel/signal.c
arch/s390x/kernel/signal32.c
arch/sh/kernel/signal.c
arch/x86_64/kernel/signal.c
include/asm-alpha/signal.h
include/asm-arm/signal.h
include/asm-ia64/signal.h
include/asm-m68k/signal.h
include/asm-sparc/signal.h
include/asm-sparc64/signal.h
include/linux/signal.h
kernel/signal.c