diff options
author | Paul Mundt <lethal@linux-sh.org> | 2006-09-27 04:27:00 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2006-09-27 04:27:00 -0400 |
commit | 9f23e7e94f7083d9705b595cbd6b30972be6fbbb (patch) | |
tree | 5fc6e90a9e361dca2e56bb03327078a2eb88cb4c /include/asm-sh/unistd.h | |
parent | a2d1a5fae6296c2a3ac1aaa982c95464c46c0585 (diff) |
sh: pselect6 and ppoll, along with signal trampoline rework.
This implements support for ppoll() and pselect6()..
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/asm-sh/unistd.h')
-rw-r--r-- | include/asm-sh/unistd.h | 66 |
1 files changed, 34 insertions, 32 deletions
diff --git a/include/asm-sh/unistd.h b/include/asm-sh/unistd.h index 49c6a6ee0ab2..080e5729f17d 100644 --- a/include/asm-sh/unistd.h +++ b/include/asm-sh/unistd.h | |||
@@ -292,39 +292,40 @@ | |||
292 | #define __NR_mq_getsetattr (__NR_mq_open+5) | 292 | #define __NR_mq_getsetattr (__NR_mq_open+5) |
293 | #define __NR_kexec_load 283 | 293 | #define __NR_kexec_load 283 |
294 | #define __NR_waitid 284 | 294 | #define __NR_waitid 284 |
295 | #define __NR_add_key 285 | 295 | /* #define __NR_sys_setaltroot 285 */ |
296 | #define __NR_request_key 286 | 296 | #define __NR_add_key 286 |
297 | #define __NR_keyctl 287 | 297 | #define __NR_request_key 287 |
298 | #define __NR_ioprio_set 288 | 298 | #define __NR_keyctl 288 |
299 | #define __NR_ioprio_get 289 | 299 | #define __NR_ioprio_set 289 |
300 | #define __NR_inotify_init 290 | 300 | #define __NR_ioprio_get 290 |
301 | #define __NR_inotify_add_watch 291 | 301 | #define __NR_inotify_init 291 |
302 | #define __NR_inotify_rm_watch 292 | 302 | #define __NR_inotify_add_watch 292 |
303 | #define __NR_migrate_pages 293 | 303 | #define __NR_inotify_rm_watch 293 |
304 | #define __NR_openat 294 | 304 | #define __NR_migrate_pages 294 |
305 | #define __NR_mkdirat 295 | 305 | #define __NR_openat 295 |
306 | #define __NR_mknodat 296 | 306 | #define __NR_mkdirat 296 |
307 | #define __NR_fchownat 297 | 307 | #define __NR_mknodat 297 |
308 | #define __NR_futimesat 298 | 308 | #define __NR_fchownat 298 |
309 | #define __NR_fstatat64 299 | 309 | #define __NR_futimesat 299 |
310 | #define __NR_unlinkat 300 | 310 | #define __NR_newfstatat 300 |
311 | #define __NR_renameat 301 | 311 | #define __NR_unlinkat 301 |
312 | #define __NR_linkat 302 | 312 | #define __NR_renameat 302 |
313 | #define __NR_symlinkat 303 | 313 | #define __NR_linkat 303 |
314 | #define __NR_readlinkat 304 | 314 | #define __NR_symlinkat 304 |
315 | #define __NR_fchmodat 305 | 315 | #define __NR_readlinkat 305 |
316 | #define __NR_faccessat 305 | 316 | #define __NR_fchmodat 306 |
317 | #define __NR_pselect6 307 | 317 | #define __NR_faccessat 307 |
318 | #define __NR_ppoll 308 | 318 | #define __NR_pselect6 308 |
319 | #define __NR_unshare 309 | 319 | #define __NR_ppoll 309 |
320 | #define __NR_set_robust_list 310 | 320 | #define __NR_unshare 310 |
321 | #define __NR_get_robust_list 311 | 321 | #define __NR_set_robust_list 311 |
322 | #define __NR_splice 312 | 322 | #define __NR_get_robust_list 312 |
323 | #define __NR_sync_file_range 313 | 323 | #define __NR_splice 313 |
324 | #define __NR_tee 314 | 324 | #define __NR_sync_file_range 314 |
325 | #define __NR_vmsplice 315 | 325 | #define __NR_tee 315 |
326 | #define __NR_vmsplice 316 | ||
326 | 327 | ||
327 | #define NR_syscalls 316 | 328 | #define NR_syscalls 317 |
328 | 329 | ||
329 | #ifdef __KERNEL__ | 330 | #ifdef __KERNEL__ |
330 | 331 | ||
@@ -466,6 +467,7 @@ __syscall_return(type,__sc0); \ | |||
466 | #define __ARCH_WANT_SYS_SIGPENDING | 467 | #define __ARCH_WANT_SYS_SIGPENDING |
467 | #define __ARCH_WANT_SYS_SIGPROCMASK | 468 | #define __ARCH_WANT_SYS_SIGPROCMASK |
468 | #define __ARCH_WANT_SYS_RT_SIGACTION | 469 | #define __ARCH_WANT_SYS_RT_SIGACTION |
470 | #define __ARCH_WANT_SYS_RT_SIGSUSPEND | ||
469 | 471 | ||
470 | #ifdef __KERNEL_SYSCALLS__ | 472 | #ifdef __KERNEL_SYSCALLS__ |
471 | 473 | ||