2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-24 05:04:00 +08:00

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: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
Thomas Gleixner 2007-10-17 18:04:39 +02:00 committed by Thomas Gleixner
parent d9a6294303
commit 6b556ffc4b

View File

@ -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__