aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-i386/unistd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-i386/unistd.h')
-rw-r--r--include/asm-i386/unistd.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/include/asm-i386/unistd.h b/include/asm-i386/unistd.h
index eb4b152c82fc..fc1c8ddae149 100644
--- a/include/asm-i386/unistd.h
+++ b/include/asm-i386/unistd.h
@@ -322,8 +322,11 @@
322#define __NR_sync_file_range 314 322#define __NR_sync_file_range 314
323#define __NR_tee 315 323#define __NR_tee 315
324#define __NR_vmsplice 316 324#define __NR_vmsplice 316
325#define __NR_move_pages 317
325 326
326#define NR_syscalls 317 327#ifdef __KERNEL__
328
329#define NR_syscalls 318
327 330
328/* 331/*
329 * user-visible error numbers are in the range -1 - -128: see 332 * user-visible error numbers are in the range -1 - -128: see
@@ -422,7 +425,6 @@ __asm__ volatile ("push %%ebp ; push %%ebx ; movl 4(%2),%%ebp ; " \
422__syscall_return(type,__res); \ 425__syscall_return(type,__res); \
423} 426}
424 427
425#ifdef __KERNEL__
426#define __ARCH_WANT_IPC_PARSE_VERSION 428#define __ARCH_WANT_IPC_PARSE_VERSION
427#define __ARCH_WANT_OLD_READDIR 429#define __ARCH_WANT_OLD_READDIR
428#define __ARCH_WANT_OLD_STAT 430#define __ARCH_WANT_OLD_STAT
@@ -446,7 +448,6 @@ __syscall_return(type,__res); \
446#define __ARCH_WANT_SYS_SIGPROCMASK 448#define __ARCH_WANT_SYS_SIGPROCMASK
447#define __ARCH_WANT_SYS_RT_SIGACTION 449#define __ARCH_WANT_SYS_RT_SIGACTION
448#define __ARCH_WANT_SYS_RT_SIGSUSPEND 450#define __ARCH_WANT_SYS_RT_SIGSUSPEND
449#endif
450 451
451#ifdef __KERNEL_SYSCALLS__ 452#ifdef __KERNEL_SYSCALLS__
452 453
@@ -485,7 +486,7 @@ asmlinkage long sys_rt_sigaction(int sig,
485 struct sigaction __user *oact, 486 struct sigaction __user *oact,
486 size_t sigsetsize); 487 size_t sigsetsize);
487 488
488#endif 489#endif /* __KERNEL_SYSCALLS__ */
489 490
490/* 491/*
491 * "Conditional" syscalls 492 * "Conditional" syscalls
@@ -497,4 +498,5 @@ asmlinkage long sys_rt_sigaction(int sig,
497#define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall") 498#define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall")
498#endif 499#endif
499 500
501#endif /* __KERNEL__ */
500#endif /* _ASM_I386_UNISTD_H_ */ 502#endif /* _ASM_I386_UNISTD_H_ */