Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6b556ffc authored by Thomas Gleixner's avatar Thomas Gleixner Committed by Thomas Gleixner
Browse files

x86: cleanup 64bit unistd.h



sys_iopl is long gone and there is no reason to declare
sys_rt_sigaction here.

Remove it all together and fix the whitespace mess as well.
It's worth the trouble: 25897 -> 21337 bytes, the win is
larger than the memory of my first computer :)

Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent d9a62943
Loading
Loading
Loading
Loading
+301 −316
Original line number Diff line number Diff line
@@ -416,15 +416,18 @@ __SYSCALL(__NR_quotactl, sys_quotactl)
#define __NR_nfsservctl				180
__SYSCALL(__NR_nfsservctl, sys_nfsservctl)

#define __NR_getpmsg                           181	/* reserved for LiS/STREAMS */
/* reserved for LiS/STREAMS */
#define __NR_getpmsg				181
__SYSCALL(__NR_getpmsg, sys_ni_syscall)
#define __NR_putpmsg                           182	/* reserved for LiS/STREAMS */
#define __NR_putpmsg				182
__SYSCALL(__NR_putpmsg, sys_ni_syscall)

#define __NR_afs_syscall                       183	/* reserved for AFS */ 
/* reserved for AFS */
#define __NR_afs_syscall			183
__SYSCALL(__NR_afs_syscall, sys_ni_syscall)

#define __NR_tuxcall      		184 /* reserved for tux */
/* reserved for tux */
#define __NR_tuxcall				184
__SYSCALL(__NR_tuxcall, sys_ni_syscall)

#define __NR_security				185
@@ -656,24 +659,6 @@ __SYSCALL(__NR_fallocate, sys_fallocate)
#define __ARCH_WANT_SYS_RT_SIGSUSPEND
#define __ARCH_WANT_SYS_TIME
#define __ARCH_WANT_COMPAT_SYS_TIME

#ifdef __KERNEL__
#ifndef __ASSEMBLY__

#include <linux/linkage.h>
#include <linux/compiler.h>
#include <linux/types.h>
#include <asm/ptrace.h>

asmlinkage long sys_iopl(unsigned int level, struct pt_regs *regs);
struct sigaction;
asmlinkage long sys_rt_sigaction(int sig,
				const struct sigaction __user *act,
				struct sigaction __user *oact,
				size_t sigsetsize);

#endif  /* __ASSEMBLY__ */
#endif	/* __KERNEL__ */
#endif	/* __NO_STUBS */

#ifdef __KERNEL__