diff options
Diffstat (limited to 'src/syscalls.c')
-rw-r--r-- | src/syscalls.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/syscalls.c b/src/syscalls.c index 2c9a446..1df2ac3 100644 --- a/src/syscalls.c +++ b/src/syscalls.c | |||
@@ -28,9 +28,10 @@ int get_rt_task_param(pid_t pid, struct rt_task *param) | |||
28 | 28 | ||
29 | int sleep_next_period(void) | 29 | int sleep_next_period(void) |
30 | { | 30 | { |
31 | return syscall(__NR_sleep_next_period); | 31 | return syscall(__NR_complete_job); |
32 | } | 32 | } |
33 | 33 | ||
34 | #ifdef false | ||
34 | int register_np_flag(struct np_flag *flag) | 35 | int register_np_flag(struct np_flag *flag) |
35 | { | 36 | { |
36 | return syscall(__NR_register_np_flag, flag); | 37 | return syscall(__NR_register_np_flag, flag); |
@@ -40,6 +41,7 @@ int signal_exit_np(void) | |||
40 | { | 41 | { |
41 | return syscall(__NR_exit_np); | 42 | return syscall(__NR_exit_np); |
42 | } | 43 | } |
44 | #endif | ||
43 | 45 | ||
44 | int od_openx(int fd, obj_type_t type, int obj_id, void *config) | 46 | int od_openx(int fd, obj_type_t type, int obj_id, void *config) |
45 | { | 47 | { |