burying unused conditionals
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 26 Nov 2012 04:12:10 +0000 (23:12 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 14 Feb 2013 14:21:15 +0000 (09:21 -0500)
__ARCH_WANT_SYS_RT_SIGACTION,
__ARCH_WANT_SYS_RT_SIGSUSPEND,
__ARCH_WANT_COMPAT_SYS_RT_SIGSUSPEND,
__ARCH_WANT_COMPAT_SYS_SCHED_RR_GET_INTERVAL - not used anymore
CONFIG_GENERIC_{SIGALTSTACK,COMPAT_RT_SIG{ACTION,QUEUEINFO,PENDING,PROCMASK}} -
can be assumed always set.

56 files changed:
arch/Kconfig
arch/alpha/Kconfig
arch/alpha/include/asm/unistd.h
arch/arm/Kconfig
arch/arm/include/asm/unistd.h
arch/arm64/Kconfig
arch/arm64/include/asm/unistd.h
arch/avr32/Kconfig
arch/avr32/include/asm/unistd.h
arch/blackfin/Kconfig
arch/blackfin/include/asm/unistd.h
arch/c6x/Kconfig
arch/cris/Kconfig
arch/cris/include/asm/unistd.h
arch/frv/Kconfig
arch/frv/include/asm/unistd.h
arch/h8300/Kconfig
arch/h8300/include/asm/unistd.h
arch/hexagon/Kconfig
arch/ia64/Kconfig
arch/ia64/include/asm/unistd.h
arch/m32r/Kconfig
arch/m32r/include/asm/unistd.h
arch/m68k/Kconfig
arch/m68k/include/asm/unistd.h
arch/microblaze/Kconfig
arch/microblaze/include/asm/unistd.h
arch/mips/Kconfig
arch/mips/include/asm/unistd.h
arch/mn10300/Kconfig
arch/mn10300/include/asm/unistd.h
arch/openrisc/Kconfig
arch/parisc/Kconfig
arch/parisc/include/asm/unistd.h
arch/powerpc/Kconfig
arch/powerpc/include/asm/unistd.h
arch/s390/Kconfig
arch/s390/include/asm/unistd.h
arch/score/Kconfig
arch/sh/Kconfig
arch/sh/include/asm/unistd.h
arch/sparc/Kconfig
arch/sparc/include/asm/unistd.h
arch/tile/Kconfig
arch/tile/include/asm/unistd.h
arch/unicore32/Kconfig
arch/x86/Kconfig
arch/x86/include/asm/unistd.h
arch/x86/um/Kconfig
arch/xtensa/Kconfig
arch/xtensa/include/asm/unistd.h
include/asm-generic/syscalls.h
include/asm-generic/unistd.h
include/linux/compat.h
include/linux/syscalls.h
kernel/signal.c

index e50d3af294d4a75892f9f8d31af070dbd9016dcf..956756c27ac6ee8b7c93e8fe87565d7c8a2dfd74 100644 (file)
@@ -356,21 +356,6 @@ config MODULES_USE_ELF_REL
          Modules only use ELF REL relocations.  Modules with ELF RELA
          relocations will give an error.
 
-config GENERIC_SIGALTSTACK
-       bool
-
-config GENERIC_COMPAT_RT_SIGPROCMASK
-       bool
-
-config GENERIC_COMPAT_RT_SIGPENDING
-       bool
-
-config GENERIC_COMPAT_RT_SIGQUEUEINFO
-       bool
-
-config GENERIC_COMPAT_RT_SIGACTION
-       bool
-
 #
 # ABI hall of shame
 #
index 15740cf29bd4d9394e0ca2eebc5c6b4dee605b26..dd083c403ab3e13839c21b9b4316334f5851fe87 100644 (file)
@@ -22,7 +22,6 @@ config ALPHA
        select GENERIC_STRNLEN_USER
        select HAVE_MOD_ARCH_SPECIFIC
        select MODULES_USE_ELF_RELA
-       select GENERIC_SIGALTSTACK
        select ODD_RT_SIGACTION
        select OLD_SIGSUSPEND
        help
index b3396ee039b77df8ba4459dad3f00ac3a47be438..6d6fe7ab5473f63f60e0c8c3e9ef55dd39ee8914 100644 (file)
@@ -14,7 +14,6 @@
 #define __ARCH_WANT_SYS_OLD_GETRLIMIT
 #define __ARCH_WANT_SYS_OLDUMOUNT
 #define __ARCH_WANT_SYS_SIGPENDING
-#define __ARCH_WANT_SYS_RT_SIGSUSPEND
 #define __ARCH_WANT_SYS_FORK
 #define __ARCH_WANT_SYS_VFORK
 #define __ARCH_WANT_SYS_CLONE
index db3152d6dd88d5156bf0b2f8505e16b6e942f077..fcb40663332890fedd3f3aabb03ff9e5df0ad93a 100644 (file)
@@ -56,7 +56,6 @@ config ARM
        select HAVE_MOD_ARCH_SPECIFIC if ARM_UNWIND
        select MODULES_USE_ELF_REL
        select CLONE_BACKWARDS
-       select GENERIC_SIGALTSTACK
        select OLD_SIGSUSPEND3
        select OLD_SIGACTION
        help
index 21a2700d295715faabf5083d7dfde05f7628cfa8..e4ddfb39ca34b0700592610d5c21de624ad95826 100644 (file)
@@ -26,8 +26,6 @@
 #define __ARCH_WANT_SYS_NICE
 #define __ARCH_WANT_SYS_SIGPENDING
 #define __ARCH_WANT_SYS_SIGPROCMASK
-#define __ARCH_WANT_SYS_RT_SIGACTION
-#define __ARCH_WANT_SYS_RT_SIGSUSPEND
 #define __ARCH_WANT_SYS_OLD_MMAP
 #define __ARCH_WANT_SYS_OLD_SELECT
 
index 1f27c58f44ad00798fbe6a1866a372293bf50471..626ab20f12ea56b10ba2f6f037f8eef42c810828 100644 (file)
@@ -6,15 +6,10 @@ config ARM64
        select CLONE_BACKWARDS
        select COMMON_CLK
        select GENERIC_CLOCKEVENTS
-       select GENERIC_COMPAT_RT_SIGACTION
-       select GENERIC_COMPAT_RT_SIGPENDING
-       select GENERIC_COMPAT_RT_SIGPROCMASK
-       select GENERIC_COMPAT_RT_SIGQUEUEINFO
        select GENERIC_HARDIRQS_NO_DEPRECATED
        select GENERIC_IOMAP
        select GENERIC_IRQ_PROBE
        select GENERIC_IRQ_SHOW
-       select GENERIC_SIGALTSTACK
        select GENERIC_SMP_IDLE_THREAD
        select GENERIC_TIME_VSYSCALL
        select HARDIRQS_SW_RESEND
index 744087fb521cca4cd0fcb2111fe37194f38b5921..82ce217e94cf07228e52ebbfae9e9bcdeb751de1 100644 (file)
 #define __ARCH_WANT_SYS_GETPGRP
 #define __ARCH_WANT_SYS_LLSEEK
 #define __ARCH_WANT_SYS_NICE
-#define __ARCH_WANT_COMPAT_SYS_SCHED_RR_GET_INTERVAL
 #define __ARCH_WANT_SYS_SIGPENDING
 #define __ARCH_WANT_SYS_SIGPROCMASK
-#define __ARCH_WANT_COMPAT_SYS_RT_SIGSUSPEND
 #define __ARCH_WANT_COMPAT_SYS_SENDFILE
 #define __ARCH_WANT_SYS_FORK
 #define __ARCH_WANT_SYS_VFORK
index e888b72b6e10396ccc44be8da308e6165e9f280e..2ae6591b3a55353789bedf11cc5c11faa58ad34b 100644 (file)
@@ -17,7 +17,6 @@ config AVR32
        select GENERIC_CLOCKEVENTS
        select HAVE_MOD_ARCH_SPECIFIC
        select MODULES_USE_ELF_RELA
-       select GENERIC_SIGALTSTACK
        help
          AVR32 is a high-performance 32-bit RISC microprocessor core,
          designed for cost-sensitive embedded applications, with particular
index 0bdf6371574e76eeaebfd821cbff2dbdb94dd16d..dc4d5a931112ebe3b6bb9c9e32c7a81d434e1624 100644 (file)
@@ -37,8 +37,6 @@
 #define __ARCH_WANT_SYS_GETPGRP
 #define __ARCH_WANT_SYS_LLSEEK
 #define __ARCH_WANT_SYS_GETPGRP
-#define __ARCH_WANT_SYS_RT_SIGACTION
-#define __ARCH_WANT_SYS_RT_SIGSUSPEND
 #define __ARCH_WANT_SYS_FORK
 #define __ARCH_WANT_SYS_VFORK
 #define __ARCH_WANT_SYS_CLONE
index a8a9ca7d40f3867c0d2b6485c561d7eabc7b1dca..b6f3ad5441c5f33f27c44850ca8d19c9898001b7 100644 (file)
@@ -45,7 +45,6 @@ config BLACKFIN
        select ARCH_USES_GETTIMEOFFSET if !GENERIC_CLOCKEVENTS
        select HAVE_MOD_ARCH_SPECIFIC
        select MODULES_USE_ELF_RELA
-       select GENERIC_SIGALTSTACK
 
 config GENERIC_CSUM
        def_bool y
index e943cb1300482b69d3da8577fc9cc47cf6985e3a..04e83ea8d5cc277e1bd90e654ab8ccdaf7f55a61 100644 (file)
@@ -18,8 +18,6 @@
 #define __ARCH_WANT_SYS_GETPGRP
 #define __ARCH_WANT_SYS_LLSEEK
 #define __ARCH_WANT_SYS_NICE
-#define __ARCH_WANT_SYS_RT_SIGACTION
-#define __ARCH_WANT_SYS_RT_SIGSUSPEND
 #define __ARCH_WANT_SYS_VFORK
 
 /*
index 12d97b7ef0dc6b95bf26b8331db5b0bd697daa3d..f6a3648f5ec3c7030a8c4294be4e3bee54a25b6c 100644 (file)
@@ -18,7 +18,6 @@ config C6X
        select OF_EARLY_FLATTREE
        select GENERIC_CLOCKEVENTS
        select MODULES_USE_ELF_RELA
-       select GENERIC_SIGALTSTACK
 
 config MMU
        def_bool n
index c2a1d0a8924c6135d93b52458996b8e5d0d3b89c..0e5c187ac7d223d8243ab16455fb63f9a613f3f2 100644 (file)
@@ -50,7 +50,6 @@ config CRIS
        select GENERIC_CMOS_UPDATE
        select MODULES_USE_ELF_RELA
        select CLONE_BACKWARDS2
-       select GENERIC_SIGALTSTACK
        select OLD_SIGSUSPEND
        select OLD_SIGACTION
 
index 6d062bdf92d4a560b9ec746c434621a10694e28b..be57a988bfb9125c25d9cec62da4d4109d962376 100644 (file)
@@ -30,8 +30,6 @@
 #define __ARCH_WANT_SYS_OLDUMOUNT
 #define __ARCH_WANT_SYS_SIGPENDING
 #define __ARCH_WANT_SYS_SIGPROCMASK
-#define __ARCH_WANT_SYS_RT_SIGACTION
-#define __ARCH_WANT_SYS_RT_SIGSUSPEND
 #define __ARCH_WANT_SYS_FORK
 #define __ARCH_WANT_SYS_VFORK
 #define __ARCH_WANT_SYS_CLONE
index e3f8ffdd4e7bca26af665b1110a43a6aec02aadb..b7465cd3dbbb256cfb0fca763b04ec60fd364baf 100644 (file)
@@ -12,7 +12,6 @@ config FRV
        select ARCH_HAVE_NMI_SAFE_CMPXCHG
        select GENERIC_CPU_DEVICES
        select ARCH_WANT_IPC_PARSE_VERSION
-       select GENERIC_SIGALTSTACK
        select OLD_SIGSUSPEND3
        select OLD_SIGACTION
 
index d685da17f5fb9954f1517e35cf6c931024e156ef..4cfcc7bba25a9e2ed9526a9279bef01c5535907e 100644 (file)
@@ -27,8 +27,6 @@
 #define __ARCH_WANT_SYS_OLDUMOUNT
 /* #define __ARCH_WANT_SYS_SIGPENDING */
 #define __ARCH_WANT_SYS_SIGPROCMASK
-#define __ARCH_WANT_SYS_RT_SIGACTION
-#define __ARCH_WANT_SYS_RT_SIGSUSPEND
 #define __ARCH_WANT_SYS_FORK
 #define __ARCH_WANT_SYS_VFORK
 #define __ARCH_WANT_SYS_CLONE
index 0b0176ce2c355d46c9e7b35bcc4a2746d903fbb2..05b613af223abac904b02acd759207ee5d70aec6 100644 (file)
@@ -9,7 +9,6 @@ config H8300
        select GENERIC_IRQ_SHOW
        select GENERIC_CPU_DEVICES
        select MODULES_USE_ELF_RELA
-       select GENERIC_SIGALTSTACK
        select OLD_SIGSUSPEND3
        select OLD_SIGACTION
 
index aa38105959fb202ee1be37addaa215c9e3594bcc..6721856d841b353321fd1f12a81f4e85a5ec65cc 100644 (file)
@@ -29,8 +29,6 @@
 #define __ARCH_WANT_SYS_OLDUMOUNT
 #define __ARCH_WANT_SYS_SIGPENDING
 #define __ARCH_WANT_SYS_SIGPROCMASK
-#define __ARCH_WANT_SYS_RT_SIGACTION
-#define __ARCH_WANT_SYS_RT_SIGSUSPEND
 #define __ARCH_WANT_SYS_FORK
 #define __ARCH_WANT_SYS_VFORK
 #define __ARCH_WANT_SYS_CLONE
index 3e6e27c11f930069086b6e481649d99b0844987f..0744f7d7b1fd096b5ccbc71cab7305ea997fb3c3 100644 (file)
@@ -31,7 +31,6 @@ config HEXAGON
        select GENERIC_CLOCKEVENTS
        select GENERIC_CLOCKEVENTS_BROADCAST
        select MODULES_USE_ELF_RELA
-       select GENERIC_SIGALTSTACK
        ---help---
          Qualcomm Hexagon is a processor architecture designed for high
          performance and low power across a wide variety of applications.
index 98482d1cbc5bfac72124a563a22e071a79817712..3279646120e3be5bdbc970ca5297b5fce30011ee 100644 (file)
@@ -42,7 +42,6 @@ config IA64
        select GENERIC_TIME_VSYSCALL_OLD
        select HAVE_MOD_ARCH_SPECIFIC
        select MODULES_USE_ELF_RELA
-       select GENERIC_SIGALTSTACK
        default y
        help
          The Itanium Processor Family is Intel's 64-bit successor to
index c827049eb62cdf5b111ca0ad8418e1f9f4ebc6da..096373800f73d8b8eeec961657d1f940a2fb9919 100644 (file)
@@ -27,9 +27,6 @@
 #define __IGNORE_vfork         /* clone() */
 #define __IGNORE_umount2       /* umount() */
 
-#define __ARCH_WANT_SYS_RT_SIGACTION
-#define __ARCH_WANT_SYS_RT_SIGSUSPEND
-
 #if !defined(__ASSEMBLY__) && !defined(ASSEMBLER)
 
 #include <linux/types.h>
index 1f550d4dd5d0952de6e0567663cb04e5d53b4e81..f807721e19a52ee1f5b619cd0a742328e4515f46 100644 (file)
@@ -15,7 +15,6 @@ config M32R
        select GENERIC_ATOMIC64
        select ARCH_USES_GETTIMEOFFSET
        select MODULES_USE_ELF_RELA
-       select GENERIC_SIGALTSTACK
 
 config SBUS
        bool
index 79b063caec85953d2f622b3b3f6357df8c3db41d..555629b052672ed9c7532455b311fcdd90eb436a 100644 (file)
@@ -20,8 +20,6 @@
 #define __ARCH_WANT_SYS_LLSEEK
 #define __ARCH_WANT_SYS_OLD_GETRLIMIT /*will be unused*/
 #define __ARCH_WANT_SYS_OLDUMOUNT
-#define __ARCH_WANT_SYS_RT_SIGACTION
-#define __ARCH_WANT_SYS_RT_SIGSUSPEND
 #define __ARCH_WANT_SYS_CLONE
 #define __ARCH_WANT_SYS_FORK
 #define __ARCH_WANT_SYS_VFORK
index a358bf63defea0957bfa2a4d97fbc080a7a2fc9a..efb1ce1f14a331c7821504a7cccc4cbbfef92134 100644 (file)
@@ -18,7 +18,6 @@ config M68K
        select HAVE_MOD_ARCH_SPECIFIC
        select MODULES_USE_ELF_REL
        select MODULES_USE_ELF_RELA
-       select GENERIC_SIGALTSTACK
        select OLD_SIGSUSPEND3
        select OLD_SIGACTION
 
index 847994ce680456d0144cf0361085728316917b54..df19631cc4dec7ee23a73c23e8ad8b60a31b178d 100644 (file)
@@ -29,8 +29,6 @@
 #define __ARCH_WANT_SYS_OLDUMOUNT
 #define __ARCH_WANT_SYS_SIGPENDING
 #define __ARCH_WANT_SYS_SIGPROCMASK
-#define __ARCH_WANT_SYS_RT_SIGACTION
-#define __ARCH_WANT_SYS_RT_SIGSUSPEND
 #define __ARCH_WANT_SYS_FORK
 #define __ARCH_WANT_SYS_VFORK
 
index 5e30d75c74ed4781210a0dffc553bf7e55d92851..ba3b7c8c04b8150241f115696d00bd08747ac8f7 100644 (file)
@@ -27,7 +27,6 @@ config MICROBLAZE
        select GENERIC_CLOCKEVENTS
        select MODULES_USE_ELF_RELA
        select CLONE_BACKWARDS
-       select GENERIC_SIGALTSTACK
 
 config SWAP
        def_bool n
index 10f8ac186855300af1fba9b374ddc581717b2356..b3778391d9cc6eb8513e590c0af79890cefc0ba8 100644 (file)
@@ -33,8 +33,6 @@
 #define __ARCH_WANT_SYS_OLDUMOUNT
 #define __ARCH_WANT_SYS_SIGPENDING
 #define __ARCH_WANT_SYS_SIGPROCMASK
-#define __ARCH_WANT_SYS_RT_SIGACTION
-#define __ARCH_WANT_SYS_RT_SIGSUSPEND
 #define __ARCH_WANT_SYS_CLONE
 #define __ARCH_WANT_SYS_VFORK
 #define __ARCH_WANT_SYS_FORK
index 0772b5c5bc7202e24f4bb74f32f0f6a41cf25cf2..a3d4646098fe07c7855e62b6a311d89556f889d0 100644 (file)
@@ -42,11 +42,6 @@ config MIPS
        select MODULES_USE_ELF_REL if MODULES
        select MODULES_USE_ELF_RELA if MODULES && 64BIT
        select CLONE_BACKWARDS
-       select GENERIC_SIGALTSTACK
-       select GENERIC_COMPAT_RT_SIGACTION
-       select GENERIC_COMPAT_RT_SIGQUEUEINFO
-       select GENERIC_COMPAT_RT_SIGPROCMASK
-       select GENERIC_COMPAT_RT_SIGPENDING
 
 menu "Machine selection"
 
index 06f6463c24ad42ca5fe577c4e23281dca36062b2..64f661e328796f55a0d52e144850e64cf94c4187 100644 (file)
@@ -35,7 +35,6 @@
 #define __ARCH_WANT_SYS_OLDUMOUNT
 #define __ARCH_WANT_SYS_SIGPENDING
 #define __ARCH_WANT_SYS_SIGPROCMASK
-#define __ARCH_WANT_SYS_RT_SIGACTION
 # ifdef CONFIG_32BIT
 #  define __ARCH_WANT_STAT64
 #  define __ARCH_WANT_SYS_TIME
index 12bf06f9abe5ee070b3b2e4fc315de367e087c89..ad0caea0bfea71a14f793dc37772114f60194456 100644 (file)
@@ -10,7 +10,6 @@ config MN10300
        select HAVE_NMI_WATCHDOG if MN10300_WD_TIMER
        select GENERIC_CLOCKEVENTS
        select MODULES_USE_ELF_RELA
-       select GENERIC_SIGALTSTACK
        select OLD_SIGSUSPEND3
        select OLD_SIGACTION
 
index e6d2ed4ba68f5ac01557e4a4375da4dc016bdb04..7f9d9adfa51ed3433b44d91d6e5d89c7ac5b767a 100644 (file)
@@ -41,8 +41,6 @@
 #define __ARCH_WANT_SYS_OLDUMOUNT
 #define __ARCH_WANT_SYS_SIGPENDING
 #define __ARCH_WANT_SYS_SIGPROCMASK
-#define __ARCH_WANT_SYS_RT_SIGACTION
-#define __ARCH_WANT_SYS_RT_SIGSUSPEND
 #define __ARCH_WANT_SYS_FORK
 #define __ARCH_WANT_SYS_VFORK
 #define __ARCH_WANT_SYS_CLONE
index d3632eb98a1c761efd182c91aab6bd30616854df..0ac66f67521f243024a40c850ec3c4da9995a724 100644 (file)
@@ -22,7 +22,6 @@ config OPENRISC
        select GENERIC_STRNCPY_FROM_USER
        select GENERIC_STRNLEN_USER
        select MODULES_USE_ELF_RELA
-       select GENERIC_SIGALTSTACK
 
 config MMU
        def_bool y
index 2bd407ffaebfa667c58b1269c1ab0ff21163da82..b77feffbadea9b91f46d85be47d35a0f49d4b2f4 100644 (file)
@@ -23,11 +23,6 @@ config PARISC
        select HAVE_MOD_ARCH_SPECIFIC
        select MODULES_USE_ELF_RELA
        select CLONE_BACKWARDS
-       select GENERIC_SIGALTSTACK
-       select GENERIC_COMPAT_RT_SIGACTION
-       select GENERIC_COMPAT_RT_SIGQUEUEINFO
-       select GENERIC_COMPAT_RT_SIGPROCMASK
-       select GENERIC_COMPAT_RT_SIGPENDING
 
        help
          The PA-RISC microprocessor is designed by Hewlett-Packard and used
index 3043194547cdc8d256ca5008846f836d95e6a864..93b1d089864bf9acab3726799ae2156527331275 100644 (file)
@@ -160,9 +160,6 @@ type name(type1 arg1, type2 arg2, type3 arg3, type4 arg4, type5 arg5)       \
 #define __ARCH_WANT_SYS_OLDUMOUNT
 #define __ARCH_WANT_SYS_SIGPENDING
 #define __ARCH_WANT_SYS_SIGPROCMASK
-#define __ARCH_WANT_SYS_RT_SIGACTION
-#define __ARCH_WANT_SYS_RT_SIGSUSPEND
-#define __ARCH_WANT_COMPAT_SYS_RT_SIGSUSPEND
 #define __ARCH_WANT_SYS_FORK
 #define __ARCH_WANT_SYS_VFORK
 #define __ARCH_WANT_SYS_CLONE
index ec89a7b11f7b4f0c32dfddb9f98251acb6375bab..cf90f052641179605c72643e5ddea5f6a58fcd3a 100644 (file)
@@ -144,11 +144,6 @@ config PPC
        select HAVE_MOD_ARCH_SPECIFIC
        select MODULES_USE_ELF_RELA
        select CLONE_BACKWARDS
-       select GENERIC_SIGALTSTACK
-       select GENERIC_COMPAT_RT_SIGACTION
-       select GENERIC_COMPAT_RT_SIGQUEUEINFO
-       select GENERIC_COMPAT_RT_SIGPROCMASK
-       select GENERIC_COMPAT_RT_SIGPENDING
        select OLD_SIGSUSPEND
        select OLD_SIGACTION if PPC32
 
index 1d4864a40e3560fa4a61f2b7f5d22eb5607dcdc1..f25b5c45c4359632d2b5259438173f493bfb6810 100644 (file)
 #define __ARCH_WANT_SYS_OLDUMOUNT
 #define __ARCH_WANT_SYS_SIGPENDING
 #define __ARCH_WANT_SYS_SIGPROCMASK
-#define __ARCH_WANT_SYS_RT_SIGACTION
-#define __ARCH_WANT_SYS_RT_SIGSUSPEND
 #ifdef CONFIG_PPC32
 #define __ARCH_WANT_OLD_STAT
 #endif
 #ifdef CONFIG_PPC64
 #define __ARCH_WANT_COMPAT_SYS_TIME
-#define __ARCH_WANT_COMPAT_SYS_RT_SIGSUSPEND
 #define __ARCH_WANT_SYS_NEWFSTATAT
 #define __ARCH_WANT_COMPAT_SYS_SENDFILE
-#define __ARCH_WANT_COMPAT_SYS_SCHED_RR_GET_INTERVAL
 #endif
 #define __ARCH_WANT_SYS_FORK
 #define __ARCH_WANT_SYS_VFORK
index bcdcf31fa6721e7d78727b871be7edded21e0618..ec12a3582ae95cf329e10cbbc5ec93ff58bd2132 100644 (file)
@@ -140,11 +140,6 @@ config S390
        select HAVE_MOD_ARCH_SPECIFIC
        select MODULES_USE_ELF_RELA
        select CLONE_BACKWARDS2
-       select GENERIC_SIGALTSTACK
-       select GENERIC_COMPAT_RT_SIGACTION
-       select GENERIC_COMPAT_RT_SIGQUEUEINFO
-       select GENERIC_COMPAT_RT_SIGPROCMASK
-       select GENERIC_COMPAT_RT_SIGPENDING
        select OLD_SIGSUSPEND3
        select OLD_SIGACTION
 
index 636530872516a64c8f30e42cf9a0bab4cee511bf..a6667a952969efc6cc3ba901a919fa554ab70be3 100644 (file)
 #define __ARCH_WANT_SYS_OLDUMOUNT
 #define __ARCH_WANT_SYS_SIGPENDING
 #define __ARCH_WANT_SYS_SIGPROCMASK
-#define __ARCH_WANT_SYS_RT_SIGACTION
-#define __ARCH_WANT_SYS_RT_SIGSUSPEND
 # ifndef CONFIG_64BIT
 #   define __ARCH_WANT_STAT64
 #   define __ARCH_WANT_SYS_TIME
 # endif
 # ifdef CONFIG_COMPAT
 #   define __ARCH_WANT_COMPAT_SYS_TIME
-#   define __ARCH_WANT_COMPAT_SYS_RT_SIGSUSPEND
 # endif
 #define __ARCH_WANT_SYS_FORK
 #define __ARCH_WANT_SYS_VFORK
index a125d7207bccfe735f8c1c0a00443b2095ba9aae..3b1482e7afacd37969f338158468bc95bb2dc8d6 100644 (file)
@@ -14,7 +14,6 @@ config SCORE
        select HAVE_MOD_ARCH_SPECIFIC
        select MODULES_USE_ELF_REL
        select CLONE_BACKWARDS
-       select GENERIC_SIGALTSTACK
 
 choice
        prompt "System type"
index b5fd9f3c9925ca7f7ce5d870f4f948f1873f34d6..5f9b0a3f5f00517d3e7e59580c68d68b05d67657 100644 (file)
@@ -40,7 +40,6 @@ config SUPERH
        select GENERIC_STRNLEN_USER
        select HAVE_MOD_ARCH_SPECIFIC if DWARF_UNWINDER
        select MODULES_USE_ELF_RELA
-       select GENERIC_SIGALTSTACK
        select OLD_SIGSUSPEND
        select OLD_SIGACTION
        help
index 012004ed33305b84b32f1609932ec0b0bbc321a1..5e90fa2b7eed348cadae62e3dd0523c2954ddee7 100644 (file)
@@ -4,7 +4,6 @@
 #  include <asm/unistd_64.h>
 # endif
 
-# define __ARCH_WANT_SYS_RT_SIGSUSPEND
 # define __ARCH_WANT_OLD_READDIR
 # define __ARCH_WANT_OLD_STAT
 # define __ARCH_WANT_STAT64
@@ -27,7 +26,6 @@
 # define __ARCH_WANT_SYS_OLDUMOUNT
 # define __ARCH_WANT_SYS_SIGPENDING
 # define __ARCH_WANT_SYS_SIGPROCMASK
-# define __ARCH_WANT_SYS_RT_SIGACTION
 # define __ARCH_WANT_SYS_FORK
 # define __ARCH_WANT_SYS_VFORK
 # define __ARCH_WANT_SYS_CLONE
index e557b0821540123271916f11c86bc84f5e3c1f31..9821a0ff98648b5d49d27012a9c4d37f091c3b21 100644 (file)
@@ -42,11 +42,6 @@ config SPARC
        select GENERIC_STRNLEN_USER
        select MODULES_USE_ELF_RELA
        select ODD_RT_SIGACTION
-       select GENERIC_SIGALTSTACK
-       select GENERIC_COMPAT_RT_SIGQUEUEINFO
-       select GENERIC_COMPAT_RT_SIGPROCMASK
-       select GENERIC_COMPAT_RT_SIGPENDING
-       select GENERIC_COMPAT_RT_SIGACTION
        select OLD_SIGSUSPEND
 
 config SPARC32
index 87ce24c5eb95a479d35f5709b3d85f1bbf4c3076..5356810bd7e758369fda84af123c28d9c15d7486 100644 (file)
 #define __ARCH_WANT_SYS_OLDUMOUNT
 #define __ARCH_WANT_SYS_SIGPENDING
 #define __ARCH_WANT_SYS_SIGPROCMASK
-#define __ARCH_WANT_SYS_RT_SIGSUSPEND
 #ifdef __32bit_syscall_numbers__
 #define __ARCH_WANT_SYS_IPC
 #else
 #define __ARCH_WANT_COMPAT_SYS_TIME
-#define __ARCH_WANT_COMPAT_SYS_RT_SIGSUSPEND
 #define __ARCH_WANT_COMPAT_SYS_SENDFILE
-#define __ARCH_WANT_COMPAT_SYS_SCHED_RR_GET_INTERVAL
 #endif
 
 /*
index 96a717ebb1fa2ba0a9c8a0eb4a60a078f116a474..875d008828b8ec619c295cf1b2d5c8923ea0389b 100644 (file)
@@ -21,11 +21,6 @@ config TILE
        select ARCH_HAVE_NMI_SAFE_CMPXCHG
        select GENERIC_CLOCKEVENTS
        select MODULES_USE_ELF_RELA
-       select GENERIC_SIGALTSTACK
-       select GENERIC_COMPAT_RT_SIGACTION
-       select GENERIC_COMPAT_RT_SIGQUEUEINFO
-       select GENERIC_COMPAT_RT_SIGPROCMASK
-       select GENERIC_COMPAT_RT_SIGPENDING
 
 # FIXME: investigate whether we need/want these options.
 #      select HAVE_IOREMAP_PROT
index 6ac21034f69a695e7d38a5656c80e1bdde0bdfb6..940831fe9e94906a04ec5bd1040f80720f6c1cf7 100644 (file)
@@ -14,7 +14,6 @@
 /* In compat mode, we use sys_llseek() for compat_sys_llseek(). */
 #ifdef CONFIG_COMPAT
 #define __ARCH_WANT_SYS_LLSEEK
-#define __ARCH_WANT_COMPAT_SYS_SCHED_RR_GET_INTERVAL
 #endif
 #define __ARCH_WANT_SYS_NEWFSTATAT
 #define __ARCH_WANT_SYS_CLONE
index a62786fdcaab4d82f1509ac93a9bf951f85220e2..60651df5f95241bb063798df83e0af2545023e76 100644 (file)
@@ -16,7 +16,6 @@ config UNICORE32
        select ARCH_WANT_FRAME_POINTERS
        select GENERIC_IOMAP
        select MODULES_USE_ELF_REL
-       select GENERIC_SIGALTSTACK
        help
          UniCore-32 is 32-bit Instruction Set Architecture,
          including a series of low-power-consumption RISC chip
index 87d09175a0a99dd46ebc0345d10c05a4b25ef3ff..49fb44e95f3caffdfd10ae31ddddd875481ad35a 100644 (file)
@@ -113,10 +113,6 @@ config X86
        select MODULES_USE_ELF_REL if X86_32
        select MODULES_USE_ELF_RELA if X86_64
        select CLONE_BACKWARDS if X86_32
-       select GENERIC_SIGALTSTACK
-       select GENERIC_COMPAT_RT_SIGACTION
-       select GENERIC_COMPAT_RT_SIGQUEUEINFO
-       select GENERIC_COMPAT_RT_SIGPENDING
        select OLD_SIGSUSPEND3 if X86_32 || IA32_EMULATION
        select OLD_SIGACTION if X86_32
        select COMPAT_OLD_SIGACTION if IA32_EMULATION
index a0790e07ba6594305dbb14b8db687db49c71a0c9..3d5df1c4447fd9e57ca6e5920936bf88757ecdf9 100644 (file)
@@ -38,8 +38,6 @@
 # define __ARCH_WANT_SYS_OLD_GETRLIMIT
 # define __ARCH_WANT_SYS_OLD_UNAME
 # define __ARCH_WANT_SYS_PAUSE
-# define __ARCH_WANT_SYS_RT_SIGACTION
-# define __ARCH_WANT_SYS_RT_SIGSUSPEND
 # define __ARCH_WANT_SYS_SGETMASK
 # define __ARCH_WANT_SYS_SIGNAL
 # define __ARCH_WANT_SYS_SIGPENDING
index cf0f2731484ec065b26e218ed8f7ad19b712b965..fafc94193bc8a2081cd4d704b842c954d6161538 100644 (file)
@@ -13,7 +13,6 @@ endmenu
 config UML_X86
        def_bool y
        select GENERIC_FIND_FIRST_BIT
-       select GENERIC_SIGALTSTACK
 
 config 64BIT
        bool "64-bit kernel" if SUBARCH = "x86"
index 23cc6ae35da08b5d3767e5e1da62286de803d320..5aab1acabf1cb4440c0b5656ecff733bc1df7b07 100644 (file)
@@ -16,7 +16,6 @@ config XTENSA
        select ARCH_WANT_OPTIONAL_GPIOLIB
        select CLONE_BACKWARDS
        select IRQ_DOMAIN
-       select GENERIC_SIGALTSTACK
        help
          Xtensa processors are 32-bit RISC machines designed by Tensilica
          primarily for embedded systems.  These processors are both
index eb63ea87815c9e9eba1e1ad3af11c70297e3d7c5..c38834de9ac7dd3a6660d09135a165f491856038 100644 (file)
@@ -15,8 +15,6 @@
 #define __ARCH_WANT_STAT64
 #define __ARCH_WANT_SYS_UTIME
 #define __ARCH_WANT_SYS_LLSEEK
-#define __ARCH_WANT_SYS_RT_SIGACTION
-#define __ARCH_WANT_SYS_RT_SIGSUSPEND
 #define __ARCH_WANT_SYS_GETPGRP
 
 /* 
index 9e25a3179d6cf431ac94cf36219a343403187959..1f74be5113b20a7f759e95950d8428087f6a370c 100644 (file)
@@ -21,13 +21,6 @@ asmlinkage long sys_mmap(unsigned long addr, unsigned long len,
                        unsigned long fd, off_t pgoff);
 #endif
 
-#ifndef CONFIG_GENERIC_SIGALTSTACK
-#ifndef sys_sigaltstack
-asmlinkage long sys_sigaltstack(const stack_t __user *, stack_t __user *,
-                       struct pt_regs *);
-#endif
-#endif
-
 #ifndef sys_rt_sigreturn
 asmlinkage long sys_rt_sigreturn(struct pt_regs *regs);
 #endif
index a36991ab334ef180bfd35128a557a0ea504a3cba..257c55ec4f7752e59408ee4d5808d15290cde0fe 100644 (file)
@@ -9,9 +9,6 @@
 #define __ARCH_WANT_STAT64
 #define __ARCH_WANT_SYS_LLSEEK
 #endif
-#define __ARCH_WANT_SYS_RT_SIGACTION
-#define __ARCH_WANT_SYS_RT_SIGSUSPEND
-#define __ARCH_WANT_COMPAT_SYS_RT_SIGSUSPEND
 
 /*
  * "Conditional" syscalls
index 8de903587fb9f36272bfe02546a22c045de438dd..de095b0462a757f8ae21d431135d96b82a3ae564 100644 (file)
@@ -68,7 +68,6 @@
 #ifndef compat_user_stack_pointer
 #define compat_user_stack_pointer() current_user_stack_pointer()
 #endif
-#ifdef CONFIG_GENERIC_SIGALTSTACK
 #ifndef compat_sigaltstack     /* we'll need that for MIPS */
 typedef struct compat_sigaltstack {
        compat_uptr_t                   ss_sp;
@@ -76,7 +75,6 @@ typedef struct compat_sigaltstack {
        compat_size_t                   ss_size;
 } compat_stack_t;
 #endif
-#endif
 
 #define compat_jiffies_to_clock_t(x)   \
                (((unsigned long)(x) * COMPAT_USER_HZ) / HZ)
@@ -142,7 +140,6 @@ typedef struct {
        compat_sigset_word      sig[_COMPAT_NSIG_WORDS];
 } compat_sigset_t;
 
-#ifdef CONFIG_GENERIC_COMPAT_RT_SIGACTION
 struct compat_sigaction {
 #ifndef __ARCH_HAS_ODD_SIGACTION
        compat_uptr_t                   sa_handler;
@@ -156,7 +153,6 @@ struct compat_sigaction {
 #endif
        compat_sigset_t                 sa_mask __packed;
 };
-#endif
 
 /*
  * These functions operate strictly on struct compat_time*
@@ -623,27 +619,19 @@ asmlinkage long compat_sys_rt_sigtimedwait(compat_sigset_t __user *uthese,
                struct compat_timespec __user *uts, compat_size_t sigsetsize);
 asmlinkage long compat_sys_rt_sigsuspend(compat_sigset_t __user *unewset,
                                         compat_size_t sigsetsize);
-#ifdef CONFIG_GENERIC_COMPAT_RT_SIGPROCMASK
 asmlinkage long compat_sys_rt_sigprocmask(int how, compat_sigset_t __user *set,
                                          compat_sigset_t __user *oset,
                                          compat_size_t sigsetsize);
-#endif
-#ifdef CONFIG_GENERIC_COMPAT_RT_SIGPENDING
 asmlinkage long compat_sys_rt_sigpending(compat_sigset_t __user *uset,
                                         compat_size_t sigsetsize);
-#endif
 #ifndef CONFIG_ODD_RT_SIGACTION
-#ifdef CONFIG_GENERIC_COMPAT_RT_SIGACTION
 asmlinkage long compat_sys_rt_sigaction(int,
                                 const struct compat_sigaction __user *,
                                 struct compat_sigaction __user *,
                                 compat_size_t);
 #endif
-#endif
-#ifdef CONFIG_GENERIC_COMPAT_RT_SIGQUEUEINFO
 asmlinkage long compat_sys_rt_sigqueueinfo(compat_pid_t pid, int sig,
                                struct compat_siginfo __user *uinfo);
-#endif
 asmlinkage long compat_sys_sysinfo(struct compat_sysinfo __user *info);
 asmlinkage long compat_sys_ioctl(unsigned int fd, unsigned int cmd,
                                 unsigned long arg);
@@ -694,13 +682,11 @@ asmlinkage ssize_t compat_sys_process_vm_writev(compat_pid_t pid,
 
 asmlinkage long compat_sys_sendfile(int out_fd, int in_fd,
                                    compat_off_t __user *offset, compat_size_t count);
-#ifdef CONFIG_GENERIC_SIGALTSTACK
 asmlinkage long compat_sys_sigaltstack(const compat_stack_t __user *uss_ptr,
                                       compat_stack_t __user *uoss_ptr);
 
 int compat_restore_altstack(const compat_stack_t __user *uss);
 int __compat_save_altstack(compat_stack_t __user *, unsigned long);
-#endif
 
 asmlinkage long compat_sys_sched_rr_get_interval(compat_pid_t pid,
                                                 struct compat_timespec __user *interval);
index 66d298f69f98b6e3c4116bb32a003cbadf9cdb47..313a8e0a6553fb266c10fbf8a548ee35c639bd9d 100644 (file)
@@ -300,10 +300,8 @@ asmlinkage long sys_personality(unsigned int personality);
 asmlinkage long sys_sigpending(old_sigset_t __user *set);
 asmlinkage long sys_sigprocmask(int how, old_sigset_t __user *set,
                                old_sigset_t __user *oset);
-#ifdef CONFIG_GENERIC_SIGALTSTACK
 asmlinkage long sys_sigaltstack(const struct sigaltstack __user *uss,
                                struct sigaltstack __user *uoss);
-#endif
 
 asmlinkage long sys_getitimer(int which, struct itimerval __user *value);
 asmlinkage long sys_setitimer(int which,
index 6919050c81560c3604550fdbd9b92679b806e5c1..2b8282bb487c77cd7d6d1536ea2b7092adeb9785 100644 (file)
@@ -2623,7 +2623,6 @@ SYSCALL_DEFINE4(rt_sigprocmask, int, how, sigset_t __user *, nset,
 }
 
 #ifdef CONFIG_COMPAT
-#ifdef CONFIG_GENERIC_COMPAT_RT_SIGPROCMASK
 COMPAT_SYSCALL_DEFINE4(rt_sigprocmask, int, how, compat_sigset_t __user *, nset,
                compat_sigset_t __user *, oset, compat_size_t, sigsetsize)
 {
@@ -2661,7 +2660,6 @@ COMPAT_SYSCALL_DEFINE4(rt_sigprocmask, int, how, compat_sigset_t __user *, nset,
 #endif
 }
 #endif
-#endif
 
 static int do_sigpending(void *set, unsigned long sigsetsize)
 {
@@ -2694,7 +2692,6 @@ SYSCALL_DEFINE2(rt_sigpending, sigset_t __user *, uset, size_t, sigsetsize)
 }
 
 #ifdef CONFIG_COMPAT
-#ifdef CONFIG_GENERIC_COMPAT_RT_SIGPENDING
 COMPAT_SYSCALL_DEFINE2(rt_sigpending, compat_sigset_t __user *, uset,
                compat_size_t, sigsetsize)
 {
@@ -2714,7 +2711,6 @@ COMPAT_SYSCALL_DEFINE2(rt_sigpending, compat_sigset_t __user *, uset,
 #endif
 }
 #endif
-#endif
 
 #ifndef HAVE_ARCH_COPY_SIGINFO_TO_USER
 
@@ -3024,7 +3020,6 @@ SYSCALL_DEFINE3(rt_sigqueueinfo, pid_t, pid, int, sig,
 }
 
 #ifdef CONFIG_COMPAT
-#ifdef CONFIG_GENERIC_COMPAT_RT_SIGQUEUEINFO
 COMPAT_SYSCALL_DEFINE3(rt_sigqueueinfo,
                        compat_pid_t, pid,
                        int, sig,
@@ -3037,7 +3032,6 @@ COMPAT_SYSCALL_DEFINE3(rt_sigqueueinfo,
        return do_rt_sigqueueinfo(pid, sig, &info);
 }
 #endif
-#endif
 
 static int do_rt_tgsigqueueinfo(pid_t tgid, pid_t pid, int sig, siginfo_t *info)
 {
@@ -3194,12 +3188,10 @@ do_sigaltstack (const stack_t __user *uss, stack_t __user *uoss, unsigned long s
 out:
        return error;
 }
-#ifdef CONFIG_GENERIC_SIGALTSTACK
 SYSCALL_DEFINE2(sigaltstack,const stack_t __user *,uss, stack_t __user *,uoss)
 {
        return do_sigaltstack(uss, uoss, current_user_stack_pointer());
 }
-#endif
 
 int restore_altstack(const stack_t __user *uss)
 {
@@ -3217,7 +3209,6 @@ int __save_altstack(stack_t __user *uss, unsigned long sp)
 }
 
 #ifdef CONFIG_COMPAT
-#ifdef CONFIG_GENERIC_SIGALTSTACK
 COMPAT_SYSCALL_DEFINE2(sigaltstack,
                        const compat_stack_t __user *, uss_ptr,
                        compat_stack_t __user *, uoss_ptr)
@@ -3267,7 +3258,6 @@ int __compat_save_altstack(compat_stack_t __user *uss, unsigned long sp)
                __put_user(t->sas_ss_size, &uss->ss_size);
 }
 #endif
-#endif
 
 #ifdef __ARCH_WANT_SYS_SIGPENDING
 
@@ -3368,7 +3358,6 @@ out:
        return ret;
 }
 #ifdef CONFIG_COMPAT
-#ifdef CONFIG_GENERIC_COMPAT_RT_SIGACTION
 COMPAT_SYSCALL_DEFINE4(rt_sigaction, int, sig,
                const struct compat_sigaction __user *, act,
                struct compat_sigaction __user *, oact,
@@ -3415,7 +3404,6 @@ COMPAT_SYSCALL_DEFINE4(rt_sigaction, int, sig,
        return ret;
 }
 #endif
-#endif
 #endif /* !CONFIG_ODD_RT_SIGACTION */
 
 #ifdef CONFIG_OLD_SIGACTION