From 8e10e1803e695a08f1fb59e90dac4ba0d8744f89 Mon Sep 17 00:00:00 2001 From: "Bjoern B. Brandenburg" Date: Mon, 31 May 2010 13:06:50 -0400 Subject: ARM: hookup LITMUS^RT system calls Includes the LITMUS^RT-specifc unistd.h extension and modifies the actual syscall table. --- arch/arm/include/asm/unistd.h | 3 +++ arch/arm/kernel/calls.S | 14 ++++++++++++++ 2 files changed, 17 insertions(+) diff --git a/arch/arm/include/asm/unistd.h b/arch/arm/include/asm/unistd.h index c891eb76c0e3..625b30490624 100644 --- a/arch/arm/include/asm/unistd.h +++ b/arch/arm/include/asm/unistd.h @@ -397,6 +397,9 @@ #define __NR_fanotify_mark (__NR_SYSCALL_BASE+368) #define __NR_prlimit64 (__NR_SYSCALL_BASE+369) +#define __NR_LITMUS (__NR_SYSCALL_BASE+370) +#include + /* * The following SWIs are ARM private. */ diff --git a/arch/arm/kernel/calls.S b/arch/arm/kernel/calls.S index 5c26eccef998..584a68349a41 100644 --- a/arch/arm/kernel/calls.S +++ b/arch/arm/kernel/calls.S @@ -379,6 +379,20 @@ CALL(sys_fanotify_init) CALL(sys_fanotify_mark) CALL(sys_prlimit64) +/* 370 */ CALL(sys_set_rt_task_param) + CALL(sys_get_rt_task_param) + CALL(sys_complete_job) + CALL(sys_od_open) + CALL(sys_od_close) +/* 375 */ CALL(sys_fmlp_down) + CALL(sys_fmlp_up) + CALL(sys_srp_down) + CALL(sys_srp_up) + CALL(sys_query_job_no) +/* 380 */ CALL(sys_wait_for_job_release) + CALL(sys_wait_for_ts_release) + CALL(sys_release_ts) + CALL(sys_null_call) #ifndef syscalls_counted .equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls #define syscalls_counted -- cgit v1.2.2