From 652ce02eebeafc92cbd2b80755ddfb04d192f8af Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Thu, 27 Jun 2013 23:32:17 +0400 Subject: [PATCH] syscalls: Add proper syscalls definition. Signed-off-by: Pavel Tikhomirov Signed-off-by: Pavel Emelyanov --- arch/x86/syscall-x86-64.def | 5 +++++ include/syscall-types.h | 2 ++ 2 files changed, 7 insertions(+) diff --git a/arch/x86/syscall-x86-64.def b/arch/x86/syscall-x86-64.def index 4888b39d7..99ea38a8a 100644 --- a/arch/x86/syscall-x86-64.def +++ b/arch/x86/syscall-x86-64.def @@ -75,6 +75,11 @@ __NR_set_thread_area 205 sys_set_thread_area (user_desc_t *info) __NR_get_thread_area 211 sys_get_thread_area (user_desc_t *info) __NR_set_tid_address 218 sys_set_tid_address (int *tid_addr) __NR_restart_syscall 219 sys_restart_syscall (void) +__NR_sys_timer_create 222 sys_timer_create (clockid_t which_clock, struct sigevent *timer_event_spec, timer_t *created_timer_id) +__NR_sys_timer_settime 223 sys_timer_settime (timer_t timer_id, int flags, const struct itimerspec *new_setting, struct itimerspec *old_setting) +__NR_sys_timer_gettime 224 sys_timer_gettime (int timer_id, const struct itimerspec *setting) +__NR_sys_timer_getoverrun 225 sys_timer_getoverrun (int timer_id) +__NR_sys_timer_delete 226 sys_timer_delete (timer_t timer_id) __NR_exit_group 231 sys_exit_group (int error_code) __NR_set_robust_list 273 sys_set_robust_list (struct robust_list_head *head, size_t len) __NR_get_robust_list 274 sys_get_robust_list (int pid, struct robust_list_head **head_ptr, size_t *len_ptr) diff --git a/include/syscall-types.h b/include/syscall-types.h index 4526e343f..ca22b8e9c 100644 --- a/include/syscall-types.h +++ b/include/syscall-types.h @@ -31,6 +31,8 @@ struct rusage; struct file_handle; struct robust_list_head; +struct itimerspec; + #ifndef F_GETFD #define F_GETFD 1 #endif