[PATCH] convert that currently tests _NSIG directly to use valid_signal()
authorJesper Juhl <juhl-lkml@dif.dk>
Sun, 1 May 2005 15:59:14 +0000 (08:59 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sun, 1 May 2005 15:59:14 +0000 (08:59 -0700)
commit7ed20e1ad521b5f5df61bf6559ae60738e393741
tree90931724e45eaedb3445314e8b94e78253642395
parente5bdd883a189243541e7a132385580703b049102
[PATCH] convert that currently tests _NSIG directly to use valid_signal()

Convert most of the current code that uses _NSIG directly to instead use
valid_signal().  This avoids gcc -W warnings and off-by-one errors.

Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
33 files changed:
arch/alpha/kernel/ptrace.c
arch/arm/kernel/ptrace.c
arch/arm26/kernel/ptrace.c
arch/cris/arch-v10/kernel/ptrace.c
arch/frv/kernel/ptrace.c
arch/h8300/kernel/ptrace.c
arch/i386/kernel/ptrace.c
arch/ia64/kernel/ptrace.c
arch/m32r/kernel/ptrace.c
arch/m68k/kernel/ptrace.c
arch/m68knommu/kernel/ptrace.c
arch/mips/kernel/ptrace.c
arch/mips/kernel/ptrace32.c
arch/parisc/kernel/ptrace.c
arch/ppc/kernel/ptrace.c
arch/ppc64/kernel/ptrace.c
arch/ppc64/kernel/ptrace32.c
arch/s390/kernel/ptrace.c
arch/sh/kernel/ptrace.c
arch/sh64/kernel/ptrace.c
arch/sparc/kernel/ptrace.c
arch/sparc64/kernel/ptrace.c
arch/um/kernel/ptrace.c
arch/v850/kernel/ptrace.c
arch/x86_64/kernel/ptrace.c
drivers/char/vt_ioctl.c
fs/fcntl.c
ipc/mqueue.c
kernel/exit.c
kernel/futex.c
kernel/ptrace.c
kernel/signal.c
kernel/sys.c