[GIT PULL] Global signal cleanup
From: Richard Weinberger
Date: Wed Aug 06 2014 - 07:19:23 EST
Linus,
the following changes since commit 19583ca584d6f574384e17fe7613dfaeadcdc4a6:
Linux 3.16 (2014-08-03 15:25:02 -0700)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/rw/misc.git signal-cleanup
for you to fetch changes up to 059ade650ae57cfd371af690fdba887af04aded8:
powerpc: Use sigsp() (2014-08-06 13:04:32 +0200)
----------------------------------------------------------------
This patch series moves all remaining archs to the get_signal(), signal_setup_done()
and sigsp() functions. Currently these archs use open coded
variants of the said functions. Further, unused parameters get removed
from get_signal_to_deliver(), tracehook_signal_handler() and signal_delivered().
At the end of the day we save around 500 lines of code.
----------------------------------------------------------------
Richard Weinberger (43):
arc: Use get_signal() signal_setup_done()
arm64: Use get_signal() signal_setup_done()
avr32: Use get_signal() signal_setup_done()
blackfin: Use get_signal() signal_setup_done()
c6x: Use get_signal() signal_setup_done()
cris: Use get_signal() signal_setup_done()
frv: Use get_signal() signal_setup_done()
hexagon: Use get_signal() signal_setup_done()
ia64: Use get_signal() signal_setup_done()
m32r: Use get_signal() signal_setup_done()
m68k: Use get_signal() signal_setup_done()
microblaze: Use get_signal() signal_setup_done()
mips: Use get_signal() signal_setup_done()
mn10300: Use get_signal() signal_setup_done()
parisc: Use get_signal() signal_setup_done()
powerpc: Use get_signal() signal_setup_done()
s390: Use get_signal() signal_setup_done()
score: Use get_signal() signal_setup_done()
sh: Use get_signal() signal_setup_done()
tile: Use get_signal() signal_setup_done()
um: Use get_signal() signal_setup_done()
unicore32: Use get_signal() signal_setup_done()
xtensa: Use get_signal() signal_setup_done()
tracehook_signal_handler: Remove sig, info, ka and regs
Clean up signal_delivered()
Rip out get_signal_to_deliver()
sas_ss_flags: Remove nested ternary if
arc: Use sigsp()
arm64: Use sigsp()
avr32: Use sigsp()
blackfin: Use sigsp()
c6x: Use sigsp()
cris: Use sigsp()
frv: Use sigsp()
hexagon: Use sigsp()
m32r: Use sigsp()
m68k: Use sigsp()
metag: Use sigsp()
microblaze: Use sigsp()
mips: Use sigsp()
mn10300: Use sigsp()
openrisc: Use sigsp()
powerpc: Use sigsp()
arch/arc/kernel/signal.c | 47 ++++++---------
arch/arm64/include/asm/signal32.h | 11 ++--
arch/arm64/kernel/signal.c | 58 +++++++------------
arch/arm64/kernel/signal32.c | 24 +++-----
arch/avr32/kernel/signal.c | 50 +++++++---------
arch/blackfin/kernel/signal.c | 51 ++++++----------
arch/c6x/kernel/signal.c | 53 +++++++----------
arch/cris/arch-v10/kernel/signal.c | 89 +++++++++++-----------------
arch/cris/arch-v32/kernel/signal.c | 89 +++++++++++-----------------
arch/frv/kernel/signal.c | 112 ++++++++++++++----------------------
arch/hexagon/kernel/signal.c | 57 +++++++-----------
arch/ia64/kernel/signal.c | 46 +++++++--------
arch/m32r/kernel/signal.c | 57 +++++++-----------
arch/m68k/kernel/signal.c | 75 +++++++++---------------
arch/metag/kernel/signal.c | 10 +---
arch/microblaze/kernel/signal.c | 55 ++++++------------
arch/mips/include/asm/abi.h | 10 ++--
arch/mips/kernel/signal-common.h | 2 +-
arch/mips/kernel/signal.c | 72 +++++++++--------------
arch/mips/kernel/signal32.c | 39 +++++--------
arch/mips/kernel/signal_n32.c | 20 +++----
arch/mn10300/kernel/signal.c | 102 ++++++++++++--------------------
arch/openrisc/kernel/signal.c | 20 +------
arch/parisc/kernel/signal.c | 58 ++++++++-----------
arch/powerpc/kernel/signal.c | 41 +++++--------
arch/powerpc/kernel/signal.h | 14 ++---
arch/powerpc/kernel/signal_32.c | 36 ++++++------
arch/powerpc/kernel/signal_64.c | 28 +++++----
arch/s390/kernel/compat_signal.c | 79 +++++++++++--------------
arch/s390/kernel/entry.h | 4 +-
arch/s390/kernel/signal.c | 78 +++++++++++--------------
arch/score/kernel/signal.c | 43 ++++++--------
arch/sh/kernel/signal_32.c | 79 +++++++++++--------------
arch/sh/kernel/signal_64.c | 82 +++++++++++---------------
arch/tile/include/asm/compat.h | 3 +-
arch/tile/kernel/compat_signal.c | 29 +++++-----
arch/tile/kernel/signal.c | 54 ++++++++---------
arch/um/include/shared/frame_kern.h | 12 ++--
arch/um/kernel/signal.c | 27 ++++-----
arch/unicore32/kernel/signal.c | 48 +++++++---------
arch/x86/um/signal.c | 45 +++++++--------
arch/xtensa/kernel/signal.c | 43 ++++++--------
include/linux/sched.h | 6 +-
include/linux/signal.h | 15 +----
include/linux/tracehook.h | 8 +--
kernel/signal.c | 46 +++++++--------
46 files changed, 789 insertions(+), 1238 deletions(-)
Thanks,
//richard
Attachment:
signature.asc
Description: OpenPGP digital signature