aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorBjoern B. Brandenburg <bbb@cs.unc.edu>2010-05-31 13:06:50 -0400
committerBjoern B. Brandenburg <bbb@cs.unc.edu>2010-11-11 17:57:39 -0500
commit8e10e1803e695a08f1fb59e90dac4ba0d8744f89 (patch)
tree82c1f76c75d2835bd740f0762f314b727bdd78a1 /arch/arm
parent9907691855fa49ec8ed317fc54a626fcd137c73b (diff)
ARM: hookup LITMUS^RT system calls
Includes the LITMUS^RT-specifc unistd.h extension and modifies the actual syscall table.
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/include/asm/unistd.h3
-rw-r--r--arch/arm/kernel/calls.S14
2 files changed, 17 insertions, 0 deletions
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 @@
397#define __NR_fanotify_mark (__NR_SYSCALL_BASE+368) 397#define __NR_fanotify_mark (__NR_SYSCALL_BASE+368)
398#define __NR_prlimit64 (__NR_SYSCALL_BASE+369) 398#define __NR_prlimit64 (__NR_SYSCALL_BASE+369)
399 399
400#define __NR_LITMUS (__NR_SYSCALL_BASE+370)
401#include <litmus/unistd_32.h>
402
400/* 403/*
401 * The following SWIs are ARM private. 404 * The following SWIs are ARM private.
402 */ 405 */
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 @@
379 CALL(sys_fanotify_init) 379 CALL(sys_fanotify_init)
380 CALL(sys_fanotify_mark) 380 CALL(sys_fanotify_mark)
381 CALL(sys_prlimit64) 381 CALL(sys_prlimit64)
382/* 370 */ CALL(sys_set_rt_task_param)
383 CALL(sys_get_rt_task_param)
384 CALL(sys_complete_job)
385 CALL(sys_od_open)
386 CALL(sys_od_close)
387/* 375 */ CALL(sys_fmlp_down)
388 CALL(sys_fmlp_up)
389 CALL(sys_srp_down)
390 CALL(sys_srp_up)
391 CALL(sys_query_job_no)
392/* 380 */ CALL(sys_wait_for_job_release)
393 CALL(sys_wait_for_ts_release)
394 CALL(sys_release_ts)
395 CALL(sys_null_call)
382#ifndef syscalls_counted 396#ifndef syscalls_counted
383.equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls 397.equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls
384#define syscalls_counted 398#define syscalls_counted