diff options
author | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2008-05-01 16:58:48 -0400 |
---|---|---|
committer | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2008-05-01 16:58:48 -0400 |
commit | a0923fbdafb81a1f93da90b19405e7949f4efe2d (patch) | |
tree | 0c3b66150a4b91b7dad5fe9df357f754be76d5ed | |
parent | f95c1994a3a9717cb75f6c8a01dd34d0f93656a9 (diff) |
sparc64: include LITMUS syscalls
add LITMUS syscalls in jump table and unistd.h
-rw-r--r-- | arch/sparc64/kernel/systbls.S | 20 | ||||
-rw-r--r-- | include/asm-sparc64/unistd.h | 6 |
2 files changed, 24 insertions, 2 deletions
diff --git a/arch/sparc64/kernel/systbls.S b/arch/sparc64/kernel/systbls.S index 06d10907d8..7fc7615b57 100644 --- a/arch/sparc64/kernel/systbls.S +++ b/arch/sparc64/kernel/systbls.S | |||
@@ -82,6 +82,13 @@ sys_call_table32: | |||
82 | .word compat_sys_set_mempolicy, compat_sys_kexec_load, compat_sys_move_pages, sys_getcpu, compat_sys_epoll_pwait | 82 | .word compat_sys_set_mempolicy, compat_sys_kexec_load, compat_sys_move_pages, sys_getcpu, compat_sys_epoll_pwait |
83 | /*310*/ .word compat_sys_utimensat, compat_sys_signalfd, compat_sys_timerfd, sys_eventfd, compat_sys_fallocate | 83 | /*310*/ .word compat_sys_utimensat, compat_sys_signalfd, compat_sys_timerfd, sys_eventfd, compat_sys_fallocate |
84 | 84 | ||
85 | /*LITMUS, 315*/ | ||
86 | .word sys_set_rt_task_param, sys_get_rt_task_param, sys_complete_job, sys_register_np_flag, sys_exit_np | ||
87 | /*320*/ | ||
88 | .word sys_od_open, sys_od_close, sys_fmlp_down, sys_fmlp_up, sys_srp_down | ||
89 | /*325*/ .word sys_srp_up, sys_query_job_no, sys_wait_for_job_release, sys_wait_for_ts_release, sys_release_ts | ||
90 | |||
91 | |||
85 | #endif /* CONFIG_COMPAT */ | 92 | #endif /* CONFIG_COMPAT */ |
86 | 93 | ||
87 | /* Now the 64-bit native Linux syscall table. */ | 94 | /* Now the 64-bit native Linux syscall table. */ |
@@ -154,6 +161,12 @@ sys_call_table: | |||
154 | .word sys_set_mempolicy, sys_kexec_load, sys_move_pages, sys_getcpu, sys_epoll_pwait | 161 | .word sys_set_mempolicy, sys_kexec_load, sys_move_pages, sys_getcpu, sys_epoll_pwait |
155 | /*310*/ .word sys_utimensat, sys_signalfd, sys_timerfd, sys_eventfd, sys_fallocate | 162 | /*310*/ .word sys_utimensat, sys_signalfd, sys_timerfd, sys_eventfd, sys_fallocate |
156 | 163 | ||
164 | /*LITMUS, 315*/ | ||
165 | .word sys_set_rt_task_param, sys_get_rt_task_param, sys_complete_job, sys_register_np_flag, sys_exit_np | ||
166 | /*320*/ | ||
167 | .word sys_od_open, sys_od_close, sys_fmlp_down, sys_fmlp_up, sys_srp_down | ||
168 | /*325*/ .word sys_srp_up, sys_query_job_no, sys_wait_for_job_release, sys_wait_for_ts_release, sys_release_ts | ||
169 | |||
157 | #if defined(CONFIG_SUNOS_EMUL) || defined(CONFIG_SOLARIS_EMUL) || \ | 170 | #if defined(CONFIG_SUNOS_EMUL) || defined(CONFIG_SOLARIS_EMUL) || \ |
158 | defined(CONFIG_SOLARIS_EMUL_MODULE) | 171 | defined(CONFIG_SOLARIS_EMUL_MODULE) |
159 | /* Now the 32-bit SunOS syscall table. */ | 172 | /* Now the 32-bit SunOS syscall table. */ |
@@ -271,6 +284,11 @@ sunos_sys_table: | |||
271 | .word sunos_nosys, sunos_nosys, sunos_nosys | 284 | .word sunos_nosys, sunos_nosys, sunos_nosys |
272 | .word sunos_nosys | 285 | .word sunos_nosys |
273 | /*310*/ .word sunos_nosys, sunos_nosys, sunos_nosys | 286 | /*310*/ .word sunos_nosys, sunos_nosys, sunos_nosys |
274 | .word sunos_nosys, sunos_nosys | 287 | .word sunos_nosys, sunos_nosys, sunos_nosys |
288 | .word sunos_nosys, sunos_nosys, sunos_nosys | ||
289 | .word sunos_nosys | ||
290 | /*320*/ .word sunos_nosys, sunos_nosys, sunos_nosys | ||
291 | .word sunos_nosys, sunos_nosys, sunos_nosys | ||
292 | .word sunos_nosys, sunos_nosys, sunos_nosys | ||
275 | 293 | ||
276 | #endif | 294 | #endif |
diff --git a/include/asm-sparc64/unistd.h b/include/asm-sparc64/unistd.h index cb751b4d0f..ebebde69c3 100644 --- a/include/asm-sparc64/unistd.h +++ b/include/asm-sparc64/unistd.h | |||
@@ -333,7 +333,11 @@ | |||
333 | #define __NR_eventfd 313 | 333 | #define __NR_eventfd 313 |
334 | #define __NR_fallocate 314 | 334 | #define __NR_fallocate 314 |
335 | 335 | ||
336 | #define NR_SYSCALLS 315 | 336 | #define __NR_LITMUS 315 |
337 | |||
338 | #include "litmus/unistd.h" | ||
339 | |||
340 | #define NR_SYSCALLS 315 + NR_litmus_syscalls | ||
337 | 341 | ||
338 | #ifdef __KERNEL__ | 342 | #ifdef __KERNEL__ |
339 | /* sysconf options, for SunOS compatibility */ | 343 | /* sysconf options, for SunOS compatibility */ |