unistd_64.h 21.6 KB
Newer Older
H
H. Peter Anvin 已提交
1 2
#ifndef _ASM_X86_UNISTD_64_H
#define _ASM_X86_UNISTD_64_H
L
Linus Torvalds 已提交
3 4

#ifndef __SYSCALL
5
#define __SYSCALL(a, b)
L
Linus Torvalds 已提交
6 7 8 9
#endif

/*
 * This file contains the system call numbers.
T
Thomas Gleixner 已提交
10
 *
L
Linus Torvalds 已提交
11 12 13 14
 * Note: holes are not allowed.
 */

/* at least 8 syscall per cacheline */
T
Thomas Gleixner 已提交
15
#define __NR_read				0
L
Linus Torvalds 已提交
16
__SYSCALL(__NR_read, sys_read)
T
Thomas Gleixner 已提交
17
#define __NR_write				1
L
Linus Torvalds 已提交
18
__SYSCALL(__NR_write, sys_write)
T
Thomas Gleixner 已提交
19
#define __NR_open				2
L
Linus Torvalds 已提交
20
__SYSCALL(__NR_open, sys_open)
T
Thomas Gleixner 已提交
21
#define __NR_close				3
L
Linus Torvalds 已提交
22
__SYSCALL(__NR_close, sys_close)
T
Thomas Gleixner 已提交
23
#define __NR_stat				4
L
Linus Torvalds 已提交
24
__SYSCALL(__NR_stat, sys_newstat)
T
Thomas Gleixner 已提交
25
#define __NR_fstat				5
L
Linus Torvalds 已提交
26
__SYSCALL(__NR_fstat, sys_newfstat)
T
Thomas Gleixner 已提交
27
#define __NR_lstat				6
L
Linus Torvalds 已提交
28
__SYSCALL(__NR_lstat, sys_newlstat)
T
Thomas Gleixner 已提交
29
#define __NR_poll				7
L
Linus Torvalds 已提交
30 31
__SYSCALL(__NR_poll, sys_poll)

T
Thomas Gleixner 已提交
32
#define __NR_lseek				8
L
Linus Torvalds 已提交
33
__SYSCALL(__NR_lseek, sys_lseek)
T
Thomas Gleixner 已提交
34
#define __NR_mmap				9
L
Linus Torvalds 已提交
35
__SYSCALL(__NR_mmap, sys_mmap)
T
Thomas Gleixner 已提交
36
#define __NR_mprotect				10
L
Linus Torvalds 已提交
37
__SYSCALL(__NR_mprotect, sys_mprotect)
T
Thomas Gleixner 已提交
38
#define __NR_munmap				11
L
Linus Torvalds 已提交
39
__SYSCALL(__NR_munmap, sys_munmap)
T
Thomas Gleixner 已提交
40
#define __NR_brk				12
L
Linus Torvalds 已提交
41
__SYSCALL(__NR_brk, sys_brk)
T
Thomas Gleixner 已提交
42
#define __NR_rt_sigaction			13
L
Linus Torvalds 已提交
43
__SYSCALL(__NR_rt_sigaction, sys_rt_sigaction)
T
Thomas Gleixner 已提交
44
#define __NR_rt_sigprocmask			14
L
Linus Torvalds 已提交
45
__SYSCALL(__NR_rt_sigprocmask, sys_rt_sigprocmask)
T
Thomas Gleixner 已提交
46
#define __NR_rt_sigreturn			15
L
Linus Torvalds 已提交
47 48
__SYSCALL(__NR_rt_sigreturn, stub_rt_sigreturn)

T
Thomas Gleixner 已提交
49
#define __NR_ioctl				16
L
Linus Torvalds 已提交
50
__SYSCALL(__NR_ioctl, sys_ioctl)
T
Thomas Gleixner 已提交
51
#define __NR_pread64				17
L
Linus Torvalds 已提交
52
__SYSCALL(__NR_pread64, sys_pread64)
T
Thomas Gleixner 已提交
53
#define __NR_pwrite64				18
L
Linus Torvalds 已提交
54
__SYSCALL(__NR_pwrite64, sys_pwrite64)
T
Thomas Gleixner 已提交
55
#define __NR_readv				19
L
Linus Torvalds 已提交
56
__SYSCALL(__NR_readv, sys_readv)
T
Thomas Gleixner 已提交
57
#define __NR_writev				20
L
Linus Torvalds 已提交
58
__SYSCALL(__NR_writev, sys_writev)
T
Thomas Gleixner 已提交
59
#define __NR_access				21
L
Linus Torvalds 已提交
60
__SYSCALL(__NR_access, sys_access)
T
Thomas Gleixner 已提交
61
#define __NR_pipe				22
L
Linus Torvalds 已提交
62
__SYSCALL(__NR_pipe, sys_pipe)
T
Thomas Gleixner 已提交
63
#define __NR_select				23
L
Linus Torvalds 已提交
64 65
__SYSCALL(__NR_select, sys_select)

T
Thomas Gleixner 已提交
66
#define __NR_sched_yield			24
L
Linus Torvalds 已提交
67
__SYSCALL(__NR_sched_yield, sys_sched_yield)
T
Thomas Gleixner 已提交
68
#define __NR_mremap				25
L
Linus Torvalds 已提交
69
__SYSCALL(__NR_mremap, sys_mremap)
T
Thomas Gleixner 已提交
70
#define __NR_msync				26
L
Linus Torvalds 已提交
71
__SYSCALL(__NR_msync, sys_msync)
T
Thomas Gleixner 已提交
72
#define __NR_mincore				27
L
Linus Torvalds 已提交
73
__SYSCALL(__NR_mincore, sys_mincore)
T
Thomas Gleixner 已提交
74
#define __NR_madvise				28
L
Linus Torvalds 已提交
75
__SYSCALL(__NR_madvise, sys_madvise)
T
Thomas Gleixner 已提交
76
#define __NR_shmget				29
L
Linus Torvalds 已提交
77
__SYSCALL(__NR_shmget, sys_shmget)
T
Thomas Gleixner 已提交
78
#define __NR_shmat				30
S
Stephen Rothwell 已提交
79
__SYSCALL(__NR_shmat, sys_shmat)
T
Thomas Gleixner 已提交
80
#define __NR_shmctl				31
L
Linus Torvalds 已提交
81 82
__SYSCALL(__NR_shmctl, sys_shmctl)

T
Thomas Gleixner 已提交
83
#define __NR_dup				32
L
Linus Torvalds 已提交
84
__SYSCALL(__NR_dup, sys_dup)
T
Thomas Gleixner 已提交
85
#define __NR_dup2				33
L
Linus Torvalds 已提交
86
__SYSCALL(__NR_dup2, sys_dup2)
T
Thomas Gleixner 已提交
87
#define __NR_pause				34
L
Linus Torvalds 已提交
88
__SYSCALL(__NR_pause, sys_pause)
T
Thomas Gleixner 已提交
89
#define __NR_nanosleep				35
L
Linus Torvalds 已提交
90
__SYSCALL(__NR_nanosleep, sys_nanosleep)
T
Thomas Gleixner 已提交
91
#define __NR_getitimer				36
L
Linus Torvalds 已提交
92
__SYSCALL(__NR_getitimer, sys_getitimer)
T
Thomas Gleixner 已提交
93
#define __NR_alarm				37
L
Linus Torvalds 已提交
94
__SYSCALL(__NR_alarm, sys_alarm)
T
Thomas Gleixner 已提交
95
#define __NR_setitimer				38
L
Linus Torvalds 已提交
96
__SYSCALL(__NR_setitimer, sys_setitimer)
T
Thomas Gleixner 已提交
97
#define __NR_getpid				39
L
Linus Torvalds 已提交
98 99
__SYSCALL(__NR_getpid, sys_getpid)

T
Thomas Gleixner 已提交
100
#define __NR_sendfile				40
L
Linus Torvalds 已提交
101
__SYSCALL(__NR_sendfile, sys_sendfile64)
T
Thomas Gleixner 已提交
102
#define __NR_socket				41
L
Linus Torvalds 已提交
103
__SYSCALL(__NR_socket, sys_socket)
T
Thomas Gleixner 已提交
104
#define __NR_connect				42
L
Linus Torvalds 已提交
105
__SYSCALL(__NR_connect, sys_connect)
T
Thomas Gleixner 已提交
106
#define __NR_accept				43
L
Linus Torvalds 已提交
107
__SYSCALL(__NR_accept, sys_accept)
T
Thomas Gleixner 已提交
108
#define __NR_sendto				44
L
Linus Torvalds 已提交
109
__SYSCALL(__NR_sendto, sys_sendto)
T
Thomas Gleixner 已提交
110
#define __NR_recvfrom				45
L
Linus Torvalds 已提交
111
__SYSCALL(__NR_recvfrom, sys_recvfrom)
T
Thomas Gleixner 已提交
112
#define __NR_sendmsg				46
L
Linus Torvalds 已提交
113
__SYSCALL(__NR_sendmsg, sys_sendmsg)
T
Thomas Gleixner 已提交
114
#define __NR_recvmsg				47
L
Linus Torvalds 已提交
115 116
__SYSCALL(__NR_recvmsg, sys_recvmsg)

T
Thomas Gleixner 已提交
117
#define __NR_shutdown				48
L
Linus Torvalds 已提交
118
__SYSCALL(__NR_shutdown, sys_shutdown)
T
Thomas Gleixner 已提交
119
#define __NR_bind				49
L
Linus Torvalds 已提交
120
__SYSCALL(__NR_bind, sys_bind)
T
Thomas Gleixner 已提交
121
#define __NR_listen				50
L
Linus Torvalds 已提交
122
__SYSCALL(__NR_listen, sys_listen)
T
Thomas Gleixner 已提交
123
#define __NR_getsockname			51
L
Linus Torvalds 已提交
124
__SYSCALL(__NR_getsockname, sys_getsockname)
T
Thomas Gleixner 已提交
125
#define __NR_getpeername			52
L
Linus Torvalds 已提交
126
__SYSCALL(__NR_getpeername, sys_getpeername)
T
Thomas Gleixner 已提交
127
#define __NR_socketpair				53
L
Linus Torvalds 已提交
128
__SYSCALL(__NR_socketpair, sys_socketpair)
T
Thomas Gleixner 已提交
129
#define __NR_setsockopt				54
L
Linus Torvalds 已提交
130
__SYSCALL(__NR_setsockopt, sys_setsockopt)
T
Thomas Gleixner 已提交
131
#define __NR_getsockopt				55
L
Linus Torvalds 已提交
132 133
__SYSCALL(__NR_getsockopt, sys_getsockopt)

T
Thomas Gleixner 已提交
134
#define __NR_clone				56
L
Linus Torvalds 已提交
135
__SYSCALL(__NR_clone, stub_clone)
T
Thomas Gleixner 已提交
136 137 138
#define __NR_fork				57
__SYSCALL(__NR_fork, stub_fork)
#define __NR_vfork				58
L
Linus Torvalds 已提交
139
__SYSCALL(__NR_vfork, stub_vfork)
T
Thomas Gleixner 已提交
140
#define __NR_execve				59
L
Linus Torvalds 已提交
141
__SYSCALL(__NR_execve, stub_execve)
T
Thomas Gleixner 已提交
142
#define __NR_exit				60
L
Linus Torvalds 已提交
143
__SYSCALL(__NR_exit, sys_exit)
T
Thomas Gleixner 已提交
144
#define __NR_wait4				61
L
Linus Torvalds 已提交
145
__SYSCALL(__NR_wait4, sys_wait4)
T
Thomas Gleixner 已提交
146
#define __NR_kill				62
L
Linus Torvalds 已提交
147
__SYSCALL(__NR_kill, sys_kill)
T
Thomas Gleixner 已提交
148
#define __NR_uname				63
L
Linus Torvalds 已提交
149 150
__SYSCALL(__NR_uname, sys_uname)

T
Thomas Gleixner 已提交
151
#define __NR_semget				64
L
Linus Torvalds 已提交
152
__SYSCALL(__NR_semget, sys_semget)
T
Thomas Gleixner 已提交
153
#define __NR_semop				65
L
Linus Torvalds 已提交
154
__SYSCALL(__NR_semop, sys_semop)
T
Thomas Gleixner 已提交
155
#define __NR_semctl				66
L
Linus Torvalds 已提交
156
__SYSCALL(__NR_semctl, sys_semctl)
T
Thomas Gleixner 已提交
157
#define __NR_shmdt				67
L
Linus Torvalds 已提交
158
__SYSCALL(__NR_shmdt, sys_shmdt)
T
Thomas Gleixner 已提交
159
#define __NR_msgget				68
L
Linus Torvalds 已提交
160
__SYSCALL(__NR_msgget, sys_msgget)
T
Thomas Gleixner 已提交
161
#define __NR_msgsnd				69
L
Linus Torvalds 已提交
162
__SYSCALL(__NR_msgsnd, sys_msgsnd)
T
Thomas Gleixner 已提交
163
#define __NR_msgrcv				70
L
Linus Torvalds 已提交
164
__SYSCALL(__NR_msgrcv, sys_msgrcv)
T
Thomas Gleixner 已提交
165
#define __NR_msgctl				71
L
Linus Torvalds 已提交
166 167
__SYSCALL(__NR_msgctl, sys_msgctl)

T
Thomas Gleixner 已提交
168
#define __NR_fcntl				72
L
Linus Torvalds 已提交
169
__SYSCALL(__NR_fcntl, sys_fcntl)
T
Thomas Gleixner 已提交
170
#define __NR_flock				73
L
Linus Torvalds 已提交
171
__SYSCALL(__NR_flock, sys_flock)
T
Thomas Gleixner 已提交
172
#define __NR_fsync				74
L
Linus Torvalds 已提交
173
__SYSCALL(__NR_fsync, sys_fsync)
T
Thomas Gleixner 已提交
174
#define __NR_fdatasync				75
L
Linus Torvalds 已提交
175
__SYSCALL(__NR_fdatasync, sys_fdatasync)
T
Thomas Gleixner 已提交
176
#define __NR_truncate				76
L
Linus Torvalds 已提交
177
__SYSCALL(__NR_truncate, sys_truncate)
T
Thomas Gleixner 已提交
178
#define __NR_ftruncate				77
L
Linus Torvalds 已提交
179
__SYSCALL(__NR_ftruncate, sys_ftruncate)
T
Thomas Gleixner 已提交
180
#define __NR_getdents				78
L
Linus Torvalds 已提交
181
__SYSCALL(__NR_getdents, sys_getdents)
T
Thomas Gleixner 已提交
182
#define __NR_getcwd				79
L
Linus Torvalds 已提交
183 184
__SYSCALL(__NR_getcwd, sys_getcwd)

T
Thomas Gleixner 已提交
185
#define __NR_chdir				80
L
Linus Torvalds 已提交
186
__SYSCALL(__NR_chdir, sys_chdir)
T
Thomas Gleixner 已提交
187
#define __NR_fchdir				81
L
Linus Torvalds 已提交
188
__SYSCALL(__NR_fchdir, sys_fchdir)
T
Thomas Gleixner 已提交
189
#define __NR_rename				82
L
Linus Torvalds 已提交
190
__SYSCALL(__NR_rename, sys_rename)
T
Thomas Gleixner 已提交
191
#define __NR_mkdir				83
L
Linus Torvalds 已提交
192
__SYSCALL(__NR_mkdir, sys_mkdir)
T
Thomas Gleixner 已提交
193
#define __NR_rmdir				84
L
Linus Torvalds 已提交
194
__SYSCALL(__NR_rmdir, sys_rmdir)
T
Thomas Gleixner 已提交
195
#define __NR_creat				85
L
Linus Torvalds 已提交
196
__SYSCALL(__NR_creat, sys_creat)
T
Thomas Gleixner 已提交
197
#define __NR_link				86
L
Linus Torvalds 已提交
198
__SYSCALL(__NR_link, sys_link)
T
Thomas Gleixner 已提交
199
#define __NR_unlink				87
L
Linus Torvalds 已提交
200 201
__SYSCALL(__NR_unlink, sys_unlink)

T
Thomas Gleixner 已提交
202
#define __NR_symlink				88
L
Linus Torvalds 已提交
203
__SYSCALL(__NR_symlink, sys_symlink)
T
Thomas Gleixner 已提交
204
#define __NR_readlink				89
L
Linus Torvalds 已提交
205
__SYSCALL(__NR_readlink, sys_readlink)
T
Thomas Gleixner 已提交
206
#define __NR_chmod				90
L
Linus Torvalds 已提交
207
__SYSCALL(__NR_chmod, sys_chmod)
T
Thomas Gleixner 已提交
208
#define __NR_fchmod				91
L
Linus Torvalds 已提交
209
__SYSCALL(__NR_fchmod, sys_fchmod)
T
Thomas Gleixner 已提交
210
#define __NR_chown				92
L
Linus Torvalds 已提交
211
__SYSCALL(__NR_chown, sys_chown)
T
Thomas Gleixner 已提交
212
#define __NR_fchown				93
L
Linus Torvalds 已提交
213
__SYSCALL(__NR_fchown, sys_fchown)
T
Thomas Gleixner 已提交
214
#define __NR_lchown				94
L
Linus Torvalds 已提交
215
__SYSCALL(__NR_lchown, sys_lchown)
T
Thomas Gleixner 已提交
216
#define __NR_umask				95
L
Linus Torvalds 已提交
217 218
__SYSCALL(__NR_umask, sys_umask)

T
Thomas Gleixner 已提交
219
#define __NR_gettimeofday			96
L
Linus Torvalds 已提交
220
__SYSCALL(__NR_gettimeofday, sys_gettimeofday)
T
Thomas Gleixner 已提交
221
#define __NR_getrlimit				97
L
Linus Torvalds 已提交
222
__SYSCALL(__NR_getrlimit, sys_getrlimit)
T
Thomas Gleixner 已提交
223
#define __NR_getrusage				98
L
Linus Torvalds 已提交
224
__SYSCALL(__NR_getrusage, sys_getrusage)
T
Thomas Gleixner 已提交
225
#define __NR_sysinfo				99
L
Linus Torvalds 已提交
226
__SYSCALL(__NR_sysinfo, sys_sysinfo)
T
Thomas Gleixner 已提交
227
#define __NR_times				100
L
Linus Torvalds 已提交
228
__SYSCALL(__NR_times, sys_times)
T
Thomas Gleixner 已提交
229
#define __NR_ptrace				101
L
Linus Torvalds 已提交
230
__SYSCALL(__NR_ptrace, sys_ptrace)
T
Thomas Gleixner 已提交
231
#define __NR_getuid				102
L
Linus Torvalds 已提交
232
__SYSCALL(__NR_getuid, sys_getuid)
T
Thomas Gleixner 已提交
233
#define __NR_syslog				103
L
Linus Torvalds 已提交
234 235 236
__SYSCALL(__NR_syslog, sys_syslog)

/* at the very end the stuff that never runs during the benchmarks */
T
Thomas Gleixner 已提交
237
#define __NR_getgid				104
L
Linus Torvalds 已提交
238
__SYSCALL(__NR_getgid, sys_getgid)
T
Thomas Gleixner 已提交
239
#define __NR_setuid				105
L
Linus Torvalds 已提交
240
__SYSCALL(__NR_setuid, sys_setuid)
T
Thomas Gleixner 已提交
241
#define __NR_setgid				106
L
Linus Torvalds 已提交
242
__SYSCALL(__NR_setgid, sys_setgid)
T
Thomas Gleixner 已提交
243
#define __NR_geteuid				107
L
Linus Torvalds 已提交
244
__SYSCALL(__NR_geteuid, sys_geteuid)
T
Thomas Gleixner 已提交
245
#define __NR_getegid				108
L
Linus Torvalds 已提交
246
__SYSCALL(__NR_getegid, sys_getegid)
T
Thomas Gleixner 已提交
247
#define __NR_setpgid				109
L
Linus Torvalds 已提交
248
__SYSCALL(__NR_setpgid, sys_setpgid)
T
Thomas Gleixner 已提交
249
#define __NR_getppid				110
L
Linus Torvalds 已提交
250
__SYSCALL(__NR_getppid, sys_getppid)
T
Thomas Gleixner 已提交
251
#define __NR_getpgrp				111
L
Linus Torvalds 已提交
252 253
__SYSCALL(__NR_getpgrp, sys_getpgrp)

T
Thomas Gleixner 已提交
254
#define __NR_setsid				112
L
Linus Torvalds 已提交
255
__SYSCALL(__NR_setsid, sys_setsid)
T
Thomas Gleixner 已提交
256
#define __NR_setreuid				113
L
Linus Torvalds 已提交
257
__SYSCALL(__NR_setreuid, sys_setreuid)
T
Thomas Gleixner 已提交
258
#define __NR_setregid				114
L
Linus Torvalds 已提交
259
__SYSCALL(__NR_setregid, sys_setregid)
T
Thomas Gleixner 已提交
260
#define __NR_getgroups				115
L
Linus Torvalds 已提交
261
__SYSCALL(__NR_getgroups, sys_getgroups)
T
Thomas Gleixner 已提交
262
#define __NR_setgroups				116
L
Linus Torvalds 已提交
263
__SYSCALL(__NR_setgroups, sys_setgroups)
T
Thomas Gleixner 已提交
264
#define __NR_setresuid				117
L
Linus Torvalds 已提交
265
__SYSCALL(__NR_setresuid, sys_setresuid)
T
Thomas Gleixner 已提交
266
#define __NR_getresuid				118
L
Linus Torvalds 已提交
267
__SYSCALL(__NR_getresuid, sys_getresuid)
T
Thomas Gleixner 已提交
268
#define __NR_setresgid				119
L
Linus Torvalds 已提交
269 270
__SYSCALL(__NR_setresgid, sys_setresgid)

T
Thomas Gleixner 已提交
271
#define __NR_getresgid				120
L
Linus Torvalds 已提交
272
__SYSCALL(__NR_getresgid, sys_getresgid)
T
Thomas Gleixner 已提交
273
#define __NR_getpgid				121
L
Linus Torvalds 已提交
274
__SYSCALL(__NR_getpgid, sys_getpgid)
T
Thomas Gleixner 已提交
275
#define __NR_setfsuid				122
L
Linus Torvalds 已提交
276
__SYSCALL(__NR_setfsuid, sys_setfsuid)
T
Thomas Gleixner 已提交
277
#define __NR_setfsgid				123
L
Linus Torvalds 已提交
278
__SYSCALL(__NR_setfsgid, sys_setfsgid)
T
Thomas Gleixner 已提交
279
#define __NR_getsid				124
L
Linus Torvalds 已提交
280
__SYSCALL(__NR_getsid, sys_getsid)
T
Thomas Gleixner 已提交
281
#define __NR_capget				125
L
Linus Torvalds 已提交
282
__SYSCALL(__NR_capget, sys_capget)
T
Thomas Gleixner 已提交
283
#define __NR_capset				126
L
Linus Torvalds 已提交
284 285
__SYSCALL(__NR_capset, sys_capset)

T
Thomas Gleixner 已提交
286
#define __NR_rt_sigpending			127
L
Linus Torvalds 已提交
287
__SYSCALL(__NR_rt_sigpending, sys_rt_sigpending)
T
Thomas Gleixner 已提交
288
#define __NR_rt_sigtimedwait			128
L
Linus Torvalds 已提交
289
__SYSCALL(__NR_rt_sigtimedwait, sys_rt_sigtimedwait)
T
Thomas Gleixner 已提交
290
#define __NR_rt_sigqueueinfo			129
L
Linus Torvalds 已提交
291
__SYSCALL(__NR_rt_sigqueueinfo, sys_rt_sigqueueinfo)
T
Thomas Gleixner 已提交
292
#define __NR_rt_sigsuspend			130
293
__SYSCALL(__NR_rt_sigsuspend, sys_rt_sigsuspend)
T
Thomas Gleixner 已提交
294
#define __NR_sigaltstack			131
L
Linus Torvalds 已提交
295
__SYSCALL(__NR_sigaltstack, stub_sigaltstack)
T
Thomas Gleixner 已提交
296
#define __NR_utime				132
L
Linus Torvalds 已提交
297
__SYSCALL(__NR_utime, sys_utime)
T
Thomas Gleixner 已提交
298
#define __NR_mknod				133
L
Linus Torvalds 已提交
299 300 301
__SYSCALL(__NR_mknod, sys_mknod)

/* Only needed for a.out */
T
Thomas Gleixner 已提交
302
#define __NR_uselib				134
L
Linus Torvalds 已提交
303
__SYSCALL(__NR_uselib, sys_ni_syscall)
T
Thomas Gleixner 已提交
304
#define __NR_personality			135
L
Linus Torvalds 已提交
305 306
__SYSCALL(__NR_personality, sys_personality)

T
Thomas Gleixner 已提交
307
#define __NR_ustat				136
L
Linus Torvalds 已提交
308
__SYSCALL(__NR_ustat, sys_ustat)
T
Thomas Gleixner 已提交
309
#define __NR_statfs				137
L
Linus Torvalds 已提交
310
__SYSCALL(__NR_statfs, sys_statfs)
T
Thomas Gleixner 已提交
311
#define __NR_fstatfs				138
L
Linus Torvalds 已提交
312
__SYSCALL(__NR_fstatfs, sys_fstatfs)
T
Thomas Gleixner 已提交
313
#define __NR_sysfs				139
L
Linus Torvalds 已提交
314 315
__SYSCALL(__NR_sysfs, sys_sysfs)

T
Thomas Gleixner 已提交
316
#define __NR_getpriority			140
L
Linus Torvalds 已提交
317
__SYSCALL(__NR_getpriority, sys_getpriority)
T
Thomas Gleixner 已提交
318
#define __NR_setpriority			141
L
Linus Torvalds 已提交
319
__SYSCALL(__NR_setpriority, sys_setpriority)
T
Thomas Gleixner 已提交
320
#define __NR_sched_setparam			142
L
Linus Torvalds 已提交
321
__SYSCALL(__NR_sched_setparam, sys_sched_setparam)
T
Thomas Gleixner 已提交
322
#define __NR_sched_getparam			143
L
Linus Torvalds 已提交
323
__SYSCALL(__NR_sched_getparam, sys_sched_getparam)
T
Thomas Gleixner 已提交
324
#define __NR_sched_setscheduler			144
L
Linus Torvalds 已提交
325
__SYSCALL(__NR_sched_setscheduler, sys_sched_setscheduler)
T
Thomas Gleixner 已提交
326
#define __NR_sched_getscheduler			145
L
Linus Torvalds 已提交
327
__SYSCALL(__NR_sched_getscheduler, sys_sched_getscheduler)
T
Thomas Gleixner 已提交
328
#define __NR_sched_get_priority_max		146
L
Linus Torvalds 已提交
329
__SYSCALL(__NR_sched_get_priority_max, sys_sched_get_priority_max)
T
Thomas Gleixner 已提交
330
#define __NR_sched_get_priority_min		147
L
Linus Torvalds 已提交
331
__SYSCALL(__NR_sched_get_priority_min, sys_sched_get_priority_min)
T
Thomas Gleixner 已提交
332
#define __NR_sched_rr_get_interval		148
L
Linus Torvalds 已提交
333 334
__SYSCALL(__NR_sched_rr_get_interval, sys_sched_rr_get_interval)

T
Thomas Gleixner 已提交
335
#define __NR_mlock				149
L
Linus Torvalds 已提交
336
__SYSCALL(__NR_mlock, sys_mlock)
T
Thomas Gleixner 已提交
337
#define __NR_munlock				150
L
Linus Torvalds 已提交
338
__SYSCALL(__NR_munlock, sys_munlock)
T
Thomas Gleixner 已提交
339
#define __NR_mlockall				151
L
Linus Torvalds 已提交
340
__SYSCALL(__NR_mlockall, sys_mlockall)
T
Thomas Gleixner 已提交
341
#define __NR_munlockall				152
L
Linus Torvalds 已提交
342 343
__SYSCALL(__NR_munlockall, sys_munlockall)

T
Thomas Gleixner 已提交
344
#define __NR_vhangup				153
L
Linus Torvalds 已提交
345 346
__SYSCALL(__NR_vhangup, sys_vhangup)

T
Thomas Gleixner 已提交
347
#define __NR_modify_ldt				154
L
Linus Torvalds 已提交
348 349
__SYSCALL(__NR_modify_ldt, sys_modify_ldt)

T
Thomas Gleixner 已提交
350
#define __NR_pivot_root				155
L
Linus Torvalds 已提交
351 352
__SYSCALL(__NR_pivot_root, sys_pivot_root)

T
Thomas Gleixner 已提交
353
#define __NR__sysctl				156
L
Linus Torvalds 已提交
354 355
__SYSCALL(__NR__sysctl, sys_sysctl)

T
Thomas Gleixner 已提交
356
#define __NR_prctl				157
L
Linus Torvalds 已提交
357
__SYSCALL(__NR_prctl, sys_prctl)
T
Thomas Gleixner 已提交
358 359
#define __NR_arch_prctl				158
__SYSCALL(__NR_arch_prctl, sys_arch_prctl)
L
Linus Torvalds 已提交
360

T
Thomas Gleixner 已提交
361
#define __NR_adjtimex				159
L
Linus Torvalds 已提交
362 363
__SYSCALL(__NR_adjtimex, sys_adjtimex)

T
Thomas Gleixner 已提交
364
#define __NR_setrlimit				160
L
Linus Torvalds 已提交
365 366
__SYSCALL(__NR_setrlimit, sys_setrlimit)

T
Thomas Gleixner 已提交
367
#define __NR_chroot				161
L
Linus Torvalds 已提交
368 369
__SYSCALL(__NR_chroot, sys_chroot)

T
Thomas Gleixner 已提交
370
#define __NR_sync				162
L
Linus Torvalds 已提交
371 372
__SYSCALL(__NR_sync, sys_sync)

T
Thomas Gleixner 已提交
373
#define __NR_acct				163
L
Linus Torvalds 已提交
374 375
__SYSCALL(__NR_acct, sys_acct)

T
Thomas Gleixner 已提交
376
#define __NR_settimeofday			164
L
Linus Torvalds 已提交
377 378
__SYSCALL(__NR_settimeofday, sys_settimeofday)

T
Thomas Gleixner 已提交
379
#define __NR_mount				165
L
Linus Torvalds 已提交
380
__SYSCALL(__NR_mount, sys_mount)
T
Thomas Gleixner 已提交
381
#define __NR_umount2				166
L
Linus Torvalds 已提交
382 383
__SYSCALL(__NR_umount2, sys_umount)

T
Thomas Gleixner 已提交
384
#define __NR_swapon				167
L
Linus Torvalds 已提交
385
__SYSCALL(__NR_swapon, sys_swapon)
T
Thomas Gleixner 已提交
386
#define __NR_swapoff				168
L
Linus Torvalds 已提交
387 388
__SYSCALL(__NR_swapoff, sys_swapoff)

T
Thomas Gleixner 已提交
389
#define __NR_reboot				169
L
Linus Torvalds 已提交
390 391
__SYSCALL(__NR_reboot, sys_reboot)

T
Thomas Gleixner 已提交
392
#define __NR_sethostname			170
L
Linus Torvalds 已提交
393
__SYSCALL(__NR_sethostname, sys_sethostname)
T
Thomas Gleixner 已提交
394
#define __NR_setdomainname			171
L
Linus Torvalds 已提交
395 396
__SYSCALL(__NR_setdomainname, sys_setdomainname)

T
Thomas Gleixner 已提交
397
#define __NR_iopl				172
L
Linus Torvalds 已提交
398
__SYSCALL(__NR_iopl, stub_iopl)
T
Thomas Gleixner 已提交
399
#define __NR_ioperm				173
L
Linus Torvalds 已提交
400 401
__SYSCALL(__NR_ioperm, sys_ioperm)

T
Thomas Gleixner 已提交
402
#define __NR_create_module			174
L
Linus Torvalds 已提交
403
__SYSCALL(__NR_create_module, sys_ni_syscall)
T
Thomas Gleixner 已提交
404
#define __NR_init_module			175
L
Linus Torvalds 已提交
405
__SYSCALL(__NR_init_module, sys_init_module)
T
Thomas Gleixner 已提交
406
#define __NR_delete_module			176
L
Linus Torvalds 已提交
407
__SYSCALL(__NR_delete_module, sys_delete_module)
T
Thomas Gleixner 已提交
408
#define __NR_get_kernel_syms			177
L
Linus Torvalds 已提交
409
__SYSCALL(__NR_get_kernel_syms, sys_ni_syscall)
T
Thomas Gleixner 已提交
410
#define __NR_query_module			178
L
Linus Torvalds 已提交
411 412
__SYSCALL(__NR_query_module, sys_ni_syscall)

T
Thomas Gleixner 已提交
413
#define __NR_quotactl				179
L
Linus Torvalds 已提交
414 415
__SYSCALL(__NR_quotactl, sys_quotactl)

T
Thomas Gleixner 已提交
416
#define __NR_nfsservctl				180
L
Linus Torvalds 已提交
417 418
__SYSCALL(__NR_nfsservctl, sys_nfsservctl)

T
Thomas Gleixner 已提交
419 420
/* reserved for LiS/STREAMS */
#define __NR_getpmsg				181
L
Linus Torvalds 已提交
421
__SYSCALL(__NR_getpmsg, sys_ni_syscall)
T
Thomas Gleixner 已提交
422
#define __NR_putpmsg				182
L
Linus Torvalds 已提交
423 424
__SYSCALL(__NR_putpmsg, sys_ni_syscall)

T
Thomas Gleixner 已提交
425 426
/* reserved for AFS */
#define __NR_afs_syscall			183
L
Linus Torvalds 已提交
427 428
__SYSCALL(__NR_afs_syscall, sys_ni_syscall)

T
Thomas Gleixner 已提交
429 430
/* reserved for tux */
#define __NR_tuxcall				184
L
Linus Torvalds 已提交
431 432
__SYSCALL(__NR_tuxcall, sys_ni_syscall)

T
Thomas Gleixner 已提交
433
#define __NR_security				185
L
Linus Torvalds 已提交
434 435
__SYSCALL(__NR_security, sys_ni_syscall)

T
Thomas Gleixner 已提交
436
#define __NR_gettid				186
L
Linus Torvalds 已提交
437 438
__SYSCALL(__NR_gettid, sys_gettid)

T
Thomas Gleixner 已提交
439
#define __NR_readahead				187
L
Linus Torvalds 已提交
440
__SYSCALL(__NR_readahead, sys_readahead)
T
Thomas Gleixner 已提交
441
#define __NR_setxattr				188
L
Linus Torvalds 已提交
442
__SYSCALL(__NR_setxattr, sys_setxattr)
T
Thomas Gleixner 已提交
443
#define __NR_lsetxattr				189
L
Linus Torvalds 已提交
444
__SYSCALL(__NR_lsetxattr, sys_lsetxattr)
T
Thomas Gleixner 已提交
445
#define __NR_fsetxattr				190
L
Linus Torvalds 已提交
446
__SYSCALL(__NR_fsetxattr, sys_fsetxattr)
T
Thomas Gleixner 已提交
447
#define __NR_getxattr				191
L
Linus Torvalds 已提交
448
__SYSCALL(__NR_getxattr, sys_getxattr)
T
Thomas Gleixner 已提交
449
#define __NR_lgetxattr				192
L
Linus Torvalds 已提交
450
__SYSCALL(__NR_lgetxattr, sys_lgetxattr)
T
Thomas Gleixner 已提交
451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467
#define __NR_fgetxattr				193
__SYSCALL(__NR_fgetxattr, sys_fgetxattr)
#define __NR_listxattr				194
__SYSCALL(__NR_listxattr, sys_listxattr)
#define __NR_llistxattr				195
__SYSCALL(__NR_llistxattr, sys_llistxattr)
#define __NR_flistxattr				196
__SYSCALL(__NR_flistxattr, sys_flistxattr)
#define __NR_removexattr			197
__SYSCALL(__NR_removexattr, sys_removexattr)
#define __NR_lremovexattr			198
__SYSCALL(__NR_lremovexattr, sys_lremovexattr)
#define __NR_fremovexattr			199
__SYSCALL(__NR_fremovexattr, sys_fremovexattr)
#define __NR_tkill				200
__SYSCALL(__NR_tkill, sys_tkill)
#define __NR_time				201
468
__SYSCALL(__NR_time, sys_time)
T
Thomas Gleixner 已提交
469
#define __NR_futex				202
L
Linus Torvalds 已提交
470
__SYSCALL(__NR_futex, sys_futex)
T
Thomas Gleixner 已提交
471
#define __NR_sched_setaffinity			203
L
Linus Torvalds 已提交
472
__SYSCALL(__NR_sched_setaffinity, sys_sched_setaffinity)
T
Thomas Gleixner 已提交
473
#define __NR_sched_getaffinity			204
L
Linus Torvalds 已提交
474
__SYSCALL(__NR_sched_getaffinity, sys_sched_getaffinity)
T
Thomas Gleixner 已提交
475
#define __NR_set_thread_area			205
L
Linus Torvalds 已提交
476
__SYSCALL(__NR_set_thread_area, sys_ni_syscall)	/* use arch_prctl */
T
Thomas Gleixner 已提交
477
#define __NR_io_setup				206
L
Linus Torvalds 已提交
478
__SYSCALL(__NR_io_setup, sys_io_setup)
T
Thomas Gleixner 已提交
479
#define __NR_io_destroy				207
L
Linus Torvalds 已提交
480
__SYSCALL(__NR_io_destroy, sys_io_destroy)
T
Thomas Gleixner 已提交
481
#define __NR_io_getevents			208
L
Linus Torvalds 已提交
482
__SYSCALL(__NR_io_getevents, sys_io_getevents)
T
Thomas Gleixner 已提交
483
#define __NR_io_submit				209
L
Linus Torvalds 已提交
484
__SYSCALL(__NR_io_submit, sys_io_submit)
T
Thomas Gleixner 已提交
485
#define __NR_io_cancel				210
L
Linus Torvalds 已提交
486
__SYSCALL(__NR_io_cancel, sys_io_cancel)
T
Thomas Gleixner 已提交
487
#define __NR_get_thread_area			211
L
Linus Torvalds 已提交
488
__SYSCALL(__NR_get_thread_area, sys_ni_syscall)	/* use arch_prctl */
T
Thomas Gleixner 已提交
489
#define __NR_lookup_dcookie			212
L
Linus Torvalds 已提交
490
__SYSCALL(__NR_lookup_dcookie, sys_lookup_dcookie)
T
Thomas Gleixner 已提交
491
#define __NR_epoll_create			213
L
Linus Torvalds 已提交
492
__SYSCALL(__NR_epoll_create, sys_epoll_create)
T
Thomas Gleixner 已提交
493
#define __NR_epoll_ctl_old			214
L
Linus Torvalds 已提交
494
__SYSCALL(__NR_epoll_ctl_old, sys_ni_syscall)
T
Thomas Gleixner 已提交
495
#define __NR_epoll_wait_old			215
L
Linus Torvalds 已提交
496
__SYSCALL(__NR_epoll_wait_old, sys_ni_syscall)
T
Thomas Gleixner 已提交
497
#define __NR_remap_file_pages			216
L
Linus Torvalds 已提交
498
__SYSCALL(__NR_remap_file_pages, sys_remap_file_pages)
T
Thomas Gleixner 已提交
499
#define __NR_getdents64				217
L
Linus Torvalds 已提交
500
__SYSCALL(__NR_getdents64, sys_getdents64)
T
Thomas Gleixner 已提交
501
#define __NR_set_tid_address			218
L
Linus Torvalds 已提交
502
__SYSCALL(__NR_set_tid_address, sys_set_tid_address)
T
Thomas Gleixner 已提交
503
#define __NR_restart_syscall			219
L
Linus Torvalds 已提交
504
__SYSCALL(__NR_restart_syscall, sys_restart_syscall)
T
Thomas Gleixner 已提交
505
#define __NR_semtimedop				220
L
Linus Torvalds 已提交
506
__SYSCALL(__NR_semtimedop, sys_semtimedop)
T
Thomas Gleixner 已提交
507
#define __NR_fadvise64				221
L
Linus Torvalds 已提交
508
__SYSCALL(__NR_fadvise64, sys_fadvise64)
T
Thomas Gleixner 已提交
509
#define __NR_timer_create			222
L
Linus Torvalds 已提交
510
__SYSCALL(__NR_timer_create, sys_timer_create)
T
Thomas Gleixner 已提交
511
#define __NR_timer_settime			223
L
Linus Torvalds 已提交
512
__SYSCALL(__NR_timer_settime, sys_timer_settime)
T
Thomas Gleixner 已提交
513
#define __NR_timer_gettime			224
L
Linus Torvalds 已提交
514
__SYSCALL(__NR_timer_gettime, sys_timer_gettime)
T
Thomas Gleixner 已提交
515
#define __NR_timer_getoverrun			225
L
Linus Torvalds 已提交
516
__SYSCALL(__NR_timer_getoverrun, sys_timer_getoverrun)
T
Thomas Gleixner 已提交
517
#define __NR_timer_delete			226
L
Linus Torvalds 已提交
518
__SYSCALL(__NR_timer_delete, sys_timer_delete)
T
Thomas Gleixner 已提交
519
#define __NR_clock_settime			227
L
Linus Torvalds 已提交
520
__SYSCALL(__NR_clock_settime, sys_clock_settime)
T
Thomas Gleixner 已提交
521
#define __NR_clock_gettime			228
L
Linus Torvalds 已提交
522
__SYSCALL(__NR_clock_gettime, sys_clock_gettime)
T
Thomas Gleixner 已提交
523
#define __NR_clock_getres			229
L
Linus Torvalds 已提交
524
__SYSCALL(__NR_clock_getres, sys_clock_getres)
T
Thomas Gleixner 已提交
525
#define __NR_clock_nanosleep			230
L
Linus Torvalds 已提交
526
__SYSCALL(__NR_clock_nanosleep, sys_clock_nanosleep)
T
Thomas Gleixner 已提交
527
#define __NR_exit_group				231
L
Linus Torvalds 已提交
528
__SYSCALL(__NR_exit_group, sys_exit_group)
T
Thomas Gleixner 已提交
529
#define __NR_epoll_wait				232
L
Linus Torvalds 已提交
530
__SYSCALL(__NR_epoll_wait, sys_epoll_wait)
T
Thomas Gleixner 已提交
531
#define __NR_epoll_ctl				233
L
Linus Torvalds 已提交
532
__SYSCALL(__NR_epoll_ctl, sys_epoll_ctl)
T
Thomas Gleixner 已提交
533
#define __NR_tgkill				234
L
Linus Torvalds 已提交
534
__SYSCALL(__NR_tgkill, sys_tgkill)
T
Thomas Gleixner 已提交
535
#define __NR_utimes				235
L
Linus Torvalds 已提交
536
__SYSCALL(__NR_utimes, sys_utimes)
T
Thomas Gleixner 已提交
537
#define __NR_vserver				236
L
Linus Torvalds 已提交
538
__SYSCALL(__NR_vserver, sys_ni_syscall)
T
Thomas Gleixner 已提交
539
#define __NR_mbind				237
L
Linus Torvalds 已提交
540
__SYSCALL(__NR_mbind, sys_mbind)
T
Thomas Gleixner 已提交
541
#define __NR_set_mempolicy			238
L
Linus Torvalds 已提交
542
__SYSCALL(__NR_set_mempolicy, sys_set_mempolicy)
T
Thomas Gleixner 已提交
543
#define __NR_get_mempolicy			239
L
Linus Torvalds 已提交
544
__SYSCALL(__NR_get_mempolicy, sys_get_mempolicy)
T
Thomas Gleixner 已提交
545
#define __NR_mq_open				240
L
Linus Torvalds 已提交
546
__SYSCALL(__NR_mq_open, sys_mq_open)
T
Thomas Gleixner 已提交
547
#define __NR_mq_unlink				241
L
Linus Torvalds 已提交
548
__SYSCALL(__NR_mq_unlink, sys_mq_unlink)
T
Thomas Gleixner 已提交
549
#define __NR_mq_timedsend			242
L
Linus Torvalds 已提交
550
__SYSCALL(__NR_mq_timedsend, sys_mq_timedsend)
T
Thomas Gleixner 已提交
551
#define __NR_mq_timedreceive			243
L
Linus Torvalds 已提交
552
__SYSCALL(__NR_mq_timedreceive, sys_mq_timedreceive)
T
Thomas Gleixner 已提交
553
#define __NR_mq_notify				244
L
Linus Torvalds 已提交
554
__SYSCALL(__NR_mq_notify, sys_mq_notify)
T
Thomas Gleixner 已提交
555
#define __NR_mq_getsetattr			245
L
Linus Torvalds 已提交
556
__SYSCALL(__NR_mq_getsetattr, sys_mq_getsetattr)
T
Thomas Gleixner 已提交
557
#define __NR_kexec_load				246
558
__SYSCALL(__NR_kexec_load, sys_kexec_load)
T
Thomas Gleixner 已提交
559
#define __NR_waitid				247
L
Linus Torvalds 已提交
560
__SYSCALL(__NR_waitid, sys_waitid)
T
Thomas Gleixner 已提交
561
#define __NR_add_key				248
L
Linus Torvalds 已提交
562
__SYSCALL(__NR_add_key, sys_add_key)
T
Thomas Gleixner 已提交
563
#define __NR_request_key			249
L
Linus Torvalds 已提交
564
__SYSCALL(__NR_request_key, sys_request_key)
T
Thomas Gleixner 已提交
565
#define __NR_keyctl				250
L
Linus Torvalds 已提交
566
__SYSCALL(__NR_keyctl, sys_keyctl)
T
Thomas Gleixner 已提交
567
#define __NR_ioprio_set				251
568
__SYSCALL(__NR_ioprio_set, sys_ioprio_set)
T
Thomas Gleixner 已提交
569
#define __NR_ioprio_get				252
570
__SYSCALL(__NR_ioprio_get, sys_ioprio_get)
T
Thomas Gleixner 已提交
571
#define __NR_inotify_init			253
572
__SYSCALL(__NR_inotify_init, sys_inotify_init)
T
Thomas Gleixner 已提交
573
#define __NR_inotify_add_watch			254
574
__SYSCALL(__NR_inotify_add_watch, sys_inotify_add_watch)
T
Thomas Gleixner 已提交
575
#define __NR_inotify_rm_watch			255
576
__SYSCALL(__NR_inotify_rm_watch, sys_inotify_rm_watch)
T
Thomas Gleixner 已提交
577
#define __NR_migrate_pages			256
578
__SYSCALL(__NR_migrate_pages, sys_migrate_pages)
T
Thomas Gleixner 已提交
579
#define __NR_openat				257
580
__SYSCALL(__NR_openat, sys_openat)
T
Thomas Gleixner 已提交
581
#define __NR_mkdirat				258
582
__SYSCALL(__NR_mkdirat, sys_mkdirat)
T
Thomas Gleixner 已提交
583
#define __NR_mknodat				259
584
__SYSCALL(__NR_mknodat, sys_mknodat)
T
Thomas Gleixner 已提交
585
#define __NR_fchownat				260
586
__SYSCALL(__NR_fchownat, sys_fchownat)
T
Thomas Gleixner 已提交
587
#define __NR_futimesat				261
588
__SYSCALL(__NR_futimesat, sys_futimesat)
T
Thomas Gleixner 已提交
589
#define __NR_newfstatat				262
590
__SYSCALL(__NR_newfstatat, sys_newfstatat)
T
Thomas Gleixner 已提交
591
#define __NR_unlinkat				263
592
__SYSCALL(__NR_unlinkat, sys_unlinkat)
T
Thomas Gleixner 已提交
593
#define __NR_renameat				264
594
__SYSCALL(__NR_renameat, sys_renameat)
T
Thomas Gleixner 已提交
595
#define __NR_linkat				265
596
__SYSCALL(__NR_linkat, sys_linkat)
T
Thomas Gleixner 已提交
597
#define __NR_symlinkat				266
598
__SYSCALL(__NR_symlinkat, sys_symlinkat)
T
Thomas Gleixner 已提交
599
#define __NR_readlinkat				267
600
__SYSCALL(__NR_readlinkat, sys_readlinkat)
T
Thomas Gleixner 已提交
601
#define __NR_fchmodat				268
602
__SYSCALL(__NR_fchmodat, sys_fchmodat)
T
Thomas Gleixner 已提交
603
#define __NR_faccessat				269
604
__SYSCALL(__NR_faccessat, sys_faccessat)
T
Thomas Gleixner 已提交
605
#define __NR_pselect6				270
A
Andi Kleen 已提交
606
__SYSCALL(__NR_pselect6, sys_pselect6)
T
Thomas Gleixner 已提交
607
#define __NR_ppoll				271
A
Andi Kleen 已提交
608
__SYSCALL(__NR_ppoll,	sys_ppoll)
T
Thomas Gleixner 已提交
609
#define __NR_unshare				272
A
Andi Kleen 已提交
610
__SYSCALL(__NR_unshare,	sys_unshare)
T
Thomas Gleixner 已提交
611
#define __NR_set_robust_list			273
612
__SYSCALL(__NR_set_robust_list, sys_set_robust_list)
T
Thomas Gleixner 已提交
613
#define __NR_get_robust_list			274
614
__SYSCALL(__NR_get_robust_list, sys_get_robust_list)
T
Thomas Gleixner 已提交
615
#define __NR_splice				275
616
__SYSCALL(__NR_splice, sys_splice)
T
Thomas Gleixner 已提交
617
#define __NR_tee				276
618
__SYSCALL(__NR_tee, sys_tee)
T
Thomas Gleixner 已提交
619
#define __NR_sync_file_range			277
620
__SYSCALL(__NR_sync_file_range, sys_sync_file_range)
T
Thomas Gleixner 已提交
621
#define __NR_vmsplice				278
622
__SYSCALL(__NR_vmsplice, sys_vmsplice)
T
Thomas Gleixner 已提交
623
#define __NR_move_pages				279
624
__SYSCALL(__NR_move_pages, sys_move_pages)
T
Thomas Gleixner 已提交
625
#define __NR_utimensat				280
U
Ulrich Drepper 已提交
626
__SYSCALL(__NR_utimensat, sys_utimensat)
A
Andi Kleen 已提交
627
#define __IGNORE_getcpu		/* implemented as a vsyscall */
T
Thomas Gleixner 已提交
628
#define __NR_epoll_pwait			281
A
Andi Kleen 已提交
629
__SYSCALL(__NR_epoll_pwait, sys_epoll_pwait)
T
Thomas Gleixner 已提交
630
#define __NR_signalfd				282
631
__SYSCALL(__NR_signalfd, sys_signalfd)
632 633
#define __NR_timerfd_create			283
__SYSCALL(__NR_timerfd_create, sys_timerfd_create)
T
Thomas Gleixner 已提交
634
#define __NR_eventfd				284
635
__SYSCALL(__NR_eventfd, sys_eventfd)
T
Thomas Gleixner 已提交
636
#define __NR_fallocate				285
637
__SYSCALL(__NR_fallocate, sys_fallocate)
638 639 640 641
#define __NR_timerfd_settime			286
__SYSCALL(__NR_timerfd_settime, sys_timerfd_settime)
#define __NR_timerfd_gettime			287
__SYSCALL(__NR_timerfd_gettime, sys_timerfd_gettime)
U
Ulrich Drepper 已提交
642 643
#define __NR_accept4				288
__SYSCALL(__NR_accept4, sys_accept4)
U
Ulrich Drepper 已提交
644 645
#define __NR_signalfd4				289
__SYSCALL(__NR_signalfd4, sys_signalfd4)
U
Ulrich Drepper 已提交
646 647
#define __NR_eventfd2				290
__SYSCALL(__NR_eventfd2, sys_eventfd2)
648 649
#define __NR_epoll_create1			291
__SYSCALL(__NR_epoll_create1, sys_epoll_create1)
U
Ulrich Drepper 已提交
650 651
#define __NR_dup3				292
__SYSCALL(__NR_dup3, sys_dup3)
U
Ulrich Drepper 已提交
652 653
#define __NR_pipe2				293
__SYSCALL(__NR_pipe2, sys_pipe2)
U
Ulrich Drepper 已提交
654 655
#define __NR_inotify_init1			294
__SYSCALL(__NR_inotify_init1, sys_inotify_init1)
656 657 658 659
#define __NR_preadv				295
__SYSCALL(__NR_preadv, sys_preadv)
#define __NR_pwritev				296
__SYSCALL(__NR_pwritev, sys_pwritev)
660

A
Andi Kleen 已提交
661

L
Linus Torvalds 已提交
662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681
#ifndef __NO_STUBS
#define __ARCH_WANT_OLD_READDIR
#define __ARCH_WANT_OLD_STAT
#define __ARCH_WANT_SYS_ALARM
#define __ARCH_WANT_SYS_GETHOSTNAME
#define __ARCH_WANT_SYS_PAUSE
#define __ARCH_WANT_SYS_SGETMASK
#define __ARCH_WANT_SYS_SIGNAL
#define __ARCH_WANT_SYS_UTIME
#define __ARCH_WANT_SYS_WAITPID
#define __ARCH_WANT_SYS_SOCKETCALL
#define __ARCH_WANT_SYS_FADVISE64
#define __ARCH_WANT_SYS_GETPGRP
#define __ARCH_WANT_SYS_LLSEEK
#define __ARCH_WANT_SYS_NICE
#define __ARCH_WANT_SYS_OLD_GETRLIMIT
#define __ARCH_WANT_SYS_OLDUMOUNT
#define __ARCH_WANT_SYS_SIGPENDING
#define __ARCH_WANT_SYS_SIGPROCMASK
#define __ARCH_WANT_SYS_RT_SIGACTION
A
Andi Kleen 已提交
682
#define __ARCH_WANT_SYS_RT_SIGSUSPEND
683
#define __ARCH_WANT_SYS_TIME
L
Linus Torvalds 已提交
684
#define __ARCH_WANT_COMPAT_SYS_TIME
685
#endif	/* __NO_STUBS */
L
Linus Torvalds 已提交
686

687
#ifdef __KERNEL__
L
Linus Torvalds 已提交
688 689 690 691 692 693 694
/*
 * "Conditional" syscalls
 *
 * What we want is __attribute__((weak,alias("sys_ni_syscall"))),
 * but it doesn't work on all toolchains, so we just do it by hand
 */
#define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall")
695
#endif	/* __KERNEL__ */
L
Linus Torvalds 已提交
696

H
H. Peter Anvin 已提交
697
#endif /* _ASM_X86_UNISTD_64_H */