aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAndrea Bastoni <bastoni@cs.unc.edu>2010-05-28 10:03:24 -0400
committerAndrea Bastoni <bastoni@cs.unc.edu>2010-05-29 17:16:59 -0400
commit2a94c7bf9869a13e32de7a1fe94596de7b4789a8 (patch)
treec8e4e72cd4cd461815a97944ba917adc0c639988 /arch
parent269cf3c49cef2b23605e98ad4a8133357bebaac0 (diff)
[ported from 2008.3] Add LITRMUS^RT syscalls to x86_32
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/include/asm/unistd_32.h6
-rw-r--r--arch/x86/kernel/syscall_table_32.S14
2 files changed, 19 insertions, 1 deletions
diff --git a/arch/x86/include/asm/unistd_32.h b/arch/x86/include/asm/unistd_32.h
index 6fb3c209a7e..34bc4204d37 100644
--- a/arch/x86/include/asm/unistd_32.h
+++ b/arch/x86/include/asm/unistd_32.h
@@ -343,9 +343,13 @@
343#define __NR_rt_tgsigqueueinfo 335 343#define __NR_rt_tgsigqueueinfo 335
344#define __NR_perf_event_open 336 344#define __NR_perf_event_open 336
345 345
346#define __NR_LITMUS 337
347
348#include "litmus/unistd.h"
349
346#ifdef __KERNEL__ 350#ifdef __KERNEL__
347 351
348#define NR_syscalls 337 352#define NR_syscalls 336 + NR_litmus_syscalls
349 353
350#define __ARCH_WANT_IPC_PARSE_VERSION 354#define __ARCH_WANT_IPC_PARSE_VERSION
351#define __ARCH_WANT_OLD_READDIR 355#define __ARCH_WANT_OLD_READDIR
diff --git a/arch/x86/kernel/syscall_table_32.S b/arch/x86/kernel/syscall_table_32.S
index 0157cd26d7c..17fcb3abe23 100644
--- a/arch/x86/kernel/syscall_table_32.S
+++ b/arch/x86/kernel/syscall_table_32.S
@@ -336,3 +336,17 @@ ENTRY(sys_call_table)
336 .long sys_pwritev 336 .long sys_pwritev
337 .long sys_rt_tgsigqueueinfo /* 335 */ 337 .long sys_rt_tgsigqueueinfo /* 335 */
338 .long sys_perf_event_open 338 .long sys_perf_event_open
339 .long sys_set_rt_task_param /* LITMUS^RT 337 */
340 .long sys_get_rt_task_param
341 .long sys_complete_job
342 .long sys_od_open
343 .long sys_od_close
344 .long sys_fmlp_down
345 .long sys_fmlp_up
346 .long sys_srp_down
347 .long sys_srp_up
348 .long sys_query_job_no
349 .long sys_wait_for_job_release
350 .long sys_wait_for_ts_release
351 .long sys_release_ts
352 .long sys_null_call