diff options
author | Bjoern Brandenburg <bbb@mpi-sws.org> | 2015-08-09 07:18:48 -0400 |
---|---|---|
committer | Bjoern Brandenburg <bbb@mpi-sws.org> | 2015-08-09 06:21:18 -0400 |
commit | cb4afb916728703eb8bf3585bf535b6f353a6a45 (patch) | |
tree | c0eaefc711e6b526dc48f0df11f3588fe958f12f /arch/arm/include | |
parent | 8e048c798adaabef530a1526f7ce8c6c3cd3475e (diff) |
Add LITMUS^RT syscalls for ARM
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/unistd.h | 2 | ||||
-rw-r--r-- | arch/arm/include/uapi/asm/unistd.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/include/asm/unistd.h b/arch/arm/include/asm/unistd.h index 32640c431a08..0c462a9e5205 100644 --- a/arch/arm/include/asm/unistd.h +++ b/arch/arm/include/asm/unistd.h | |||
@@ -19,7 +19,7 @@ | |||
19 | * This may need to be greater than __NR_last_syscall+1 in order to | 19 | * This may need to be greater than __NR_last_syscall+1 in order to |
20 | * account for the padding in the syscall table | 20 | * account for the padding in the syscall table |
21 | */ | 21 | */ |
22 | #define __NR_syscalls (388) | 22 | #define __NR_syscalls (388 + NR_litmus_syscalls) |
23 | 23 | ||
24 | /* | 24 | /* |
25 | * *NOTE*: This is a ghost syscall private to the kernel. Only the | 25 | * *NOTE*: This is a ghost syscall private to the kernel. Only the |
diff --git a/arch/arm/include/uapi/asm/unistd.h b/arch/arm/include/uapi/asm/unistd.h index 0c3f5a0dafd3..060ea67386d3 100644 --- a/arch/arm/include/uapi/asm/unistd.h +++ b/arch/arm/include/uapi/asm/unistd.h | |||
@@ -415,6 +415,9 @@ | |||
415 | #define __NR_bpf (__NR_SYSCALL_BASE+386) | 415 | #define __NR_bpf (__NR_SYSCALL_BASE+386) |
416 | #define __NR_execveat (__NR_SYSCALL_BASE+387) | 416 | #define __NR_execveat (__NR_SYSCALL_BASE+387) |
417 | 417 | ||
418 | #define __NR_LITMUS (__NR_SYSCALL_BASE+388) | ||
419 | #include <litmus/unistd_32.h> | ||
420 | |||
418 | /* | 421 | /* |
419 | * The following SWIs are ARM private. | 422 | * The following SWIs are ARM private. |
420 | */ | 423 | */ |