]> git.karo-electronics.de Git - linux-beck.git/commitdiff
make HAVE_SYSCALL_WRAPPERS unconditional
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 21 Jan 2013 22:18:07 +0000 (17:18 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 4 Mar 2013 03:58:30 +0000 (22:58 -0500)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/Kconfig
arch/alpha/Kconfig
arch/mips/Kconfig
arch/powerpc/Kconfig
arch/s390/Kconfig
arch/sparc/Kconfig
arch/tile/Kconfig
include/linux/compat.h
include/linux/syscalls.h
ipc/sem.c

index 5a1779c93940153b30ba84a561b75aaec1e109ea..892d6176fcf3545c175e1370cf258e7e722d37c2 100644 (file)
@@ -157,9 +157,6 @@ config ARCH_USE_BUILTIN_BSWAP
         instructions should set this. And it shouldn't hurt to set it
         on architectures that don't have such instructions.
 
-config HAVE_SYSCALL_WRAPPERS
-       bool
-
 config KRETPROBES
        def_bool y
        depends on KPROBES && HAVE_KRETPROBES
index 5833aa4414816526dd23be127ef718a1900d4b7f..5469f7b444ab3dd0a4f59a7748c93f2ee0a413c3 100644 (file)
@@ -4,7 +4,6 @@ config ALPHA
        select HAVE_AOUT
        select HAVE_IDE
        select HAVE_OPROFILE
-       select HAVE_SYSCALL_WRAPPERS
        select HAVE_PCSPKR_PLATFORM
        select HAVE_PERF_EVENTS
        select HAVE_DMA_ATTRS
index ae9c716c46bbf5d93849f5ad9dcb5e3c9a47fd88..32eb3d67bbef5c927bc1c527c52948441093aa45 100644 (file)
@@ -1737,7 +1737,6 @@ config 32BIT
 config 64BIT
        bool "64-bit kernel"
        depends on CPU_SUPPORTS_64BIT_KERNEL && SYS_SUPPORTS_64BIT_KERNEL
-       select HAVE_SYSCALL_WRAPPERS
        help
          Select this option if you want to build a 64-bit kernel.
 
index b89d7eb730a25360129d0d4b7f83136e130a227d..f460e32fe2a0bac3141cedd13851c94ac62a040d 100644 (file)
@@ -113,7 +113,6 @@ config PPC
        select USE_GENERIC_SMP_HELPERS if SMP
        select HAVE_OPROFILE
        select HAVE_DEBUG_KMEMLEAK
-       select HAVE_SYSCALL_WRAPPERS if PPC64
        select GENERIC_ATOMIC64 if PPC32
        select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE
        select HAVE_PERF_EVENTS
index 4b505370a1d59430b0bc519c47b926b0ed29adab..f6cc1528df89b8ffd35591ba166d37f9e0fdff4d 100644 (file)
@@ -131,7 +131,6 @@ config S390
        select HAVE_PERF_EVENTS
        select HAVE_REGS_AND_STACK_ACCESS_API
        select HAVE_SYSCALL_TRACEPOINTS
-       select HAVE_SYSCALL_WRAPPERS
        select HAVE_UID16 if 32BIT
        select HAVE_VIRT_CPU_ACCOUNTING
        select HAVE_VIRT_TO_BUS
index 289127d5241ce7a2ee646e8b8211849ae1cc2eda..67388cdb18c12ac083e7e31868e60316cc0b6704 100644 (file)
@@ -62,7 +62,6 @@ config SPARC64
        select HAVE_RCU_TABLE_FREE if SMP
        select HAVE_MEMBLOCK
        select HAVE_MEMBLOCK_NODE_MAP
-       select HAVE_SYSCALL_WRAPPERS
        select HAVE_ARCH_TRANSPARENT_HUGEPAGE
        select HAVE_DYNAMIC_FTRACE
        select HAVE_FTRACE_MCOUNT_RECORD
index ff496ab1e79445472aabd261ef133e2565c2a513..95bd2ef6c9439ab88fc5c6a01ecde2c1ac4bcd2f 100644 (file)
@@ -16,7 +16,6 @@ config TILE
        select GENERIC_PENDING_IRQ if SMP
        select GENERIC_IRQ_SHOW
        select HAVE_DEBUG_BUGVERBOSE
-       select HAVE_SYSCALL_WRAPPERS if TILEGX
        select HAVE_VIRT_TO_BUS
        select SYS_HYPERVISOR
        select ARCH_HAVE_NMI_SAFE_CMPXCHG
index 8c1dfc8d830d983c5929189cf83b2a3680341aa1..110132527e4c52ca67fa9fec119563af6642e483 100644 (file)
@@ -40,8 +40,6 @@
 #define COMPAT_SYSCALL_DEFINE6(name, ...) \
        COMPAT_SYSCALL_DEFINEx(6, _##name, __VA_ARGS__)
 
-#ifdef CONFIG_HAVE_SYSCALL_WRAPPERS
-
 #define COMPAT_SYSCALL_DEFINEx(x, name, ...)                           \
        asmlinkage long compat_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__));\
        static inline long C_SYSC##name(__MAP(x,__SC_DECL,__VA_ARGS__));\
        SYSCALL_ALIAS(compat_sys##name, compat_SyS##name);              \
        static inline long C_SYSC##name(__MAP(x,__SC_DECL,__VA_ARGS__))
 
-#else /* CONFIG_HAVE_SYSCALL_WRAPPERS */
-
-#define COMPAT_SYSCALL_DEFINEx(x, name, ...)                           \
-       asmlinkage long compat_sys##name(__MAP(x,__SC_DECL,__VA_ARGS__))
-
-#endif /* CONFIG_HAVE_SYSCALL_WRAPPERS */
-
 #ifndef compat_user_stack_pointer
 #define compat_user_stack_pointer() current_user_stack_pointer()
 #endif
index 87584373305d66eb98c281016272116113dda403..3b6fc13cb46a1d25183b26d05ab179724ad38b27 100644 (file)
@@ -198,8 +198,6 @@ extern struct trace_event_functions exit_syscall_print_funcs;
        __SYSCALL_DEFINEx(x, sname, __VA_ARGS__)
 #endif
 
-#ifdef CONFIG_HAVE_SYSCALL_WRAPPERS
-
 #define SYSCALL_DEFINE(name) static inline long SYSC_##name
 
 #define __SYSCALL_DEFINEx(x, name, ...)                                        \
@@ -213,14 +211,6 @@ extern struct trace_event_functions exit_syscall_print_funcs;
        SYSCALL_ALIAS(sys##name, SyS##name);                            \
        static inline long SYSC##name(__MAP(x,__SC_DECL,__VA_ARGS__))
 
-#else /* CONFIG_HAVE_SYSCALL_WRAPPERS */
-
-#define SYSCALL_DEFINE(name) asmlinkage long sys_##name
-#define __SYSCALL_DEFINEx(x, name, ...)                                        \
-       asmlinkage long sys##name(__MAP(x,__SC_DECL,__VA_ARGS__))
-
-#endif /* CONFIG_HAVE_SYSCALL_WRAPPERS */
-
 asmlinkage long sys_time(time_t __user *tloc);
 asmlinkage long sys_stime(time_t __user *tptr);
 asmlinkage long sys_gettimeofday(struct timeval __user *tv,
index 58d31f1c1eb59920a558705b677c8db3ff80b6d9..e7236df7a4701ea7e78e01ae620be2a166bc8219 100644 (file)
--- a/ipc/sem.c
+++ b/ipc/sem.c
@@ -1156,13 +1156,11 @@ SYSCALL_DEFINE(semctl)(int semid, int semnum, int cmd, union semun arg)
                return -EINVAL;
        }
 }
-#ifdef CONFIG_HAVE_SYSCALL_WRAPPERS
 asmlinkage long SyS_semctl(int semid, int semnum, int cmd, union semun arg)
 {
        return SYSC_semctl((int) semid, (int) semnum, (int) cmd, arg);
 }
 SYSCALL_ALIAS(sys_semctl, SyS_semctl);
-#endif
 
 /* If the task doesn't already have a undo_list, then allocate one
  * here.  We guarantee there is only one thread using this undo list,