diff options
-rw-r--r-- | arch/arm/include/asm/unistd.h | 4 | ||||
-rw-r--r-- | arch/arm/kernel/calls.S | 5 | ||||
-rw-r--r-- | arch/x86/syscalls/syscall_32.tbl | 5 | ||||
-rw-r--r-- | arch/x86/syscalls/syscall_64.tbl | 6 | ||||
-rw-r--r-- | include/litmus/unistd_32.h | 3 | ||||
-rw-r--r-- | include/litmus/unistd_64.h | 5 |
6 files changed, 16 insertions, 12 deletions
diff --git a/arch/arm/include/asm/unistd.h b/arch/arm/include/asm/unistd.h index 8b26b328d3f7..0db825dda11f 100644 --- a/arch/arm/include/asm/unistd.h +++ b/arch/arm/include/asm/unistd.h | |||
@@ -14,8 +14,8 @@ | |||
14 | #define __ASM_ARM_UNISTD_H | 14 | #define __ASM_ARM_UNISTD_H |
15 | 15 | ||
16 | #include <uapi/asm/unistd.h> | 16 | #include <uapi/asm/unistd.h> |
17 | 17 | /** __NR_syscalls padding */ | |
18 | #define __NR_syscalls (380 + NR_litmus_syscalls) | 18 | #define __NR_syscalls (380 + NR_litmus_syscalls + 1) |
19 | 19 | ||
20 | #define __ARM_NR_cmpxchg (__ARM_NR_BASE+0x00fff0) | 20 | #define __ARM_NR_cmpxchg (__ARM_NR_BASE+0x00fff0) |
21 | 21 | ||
diff --git a/arch/arm/kernel/calls.S b/arch/arm/kernel/calls.S index ad22fcc42899..34c5ee7964eb 100644 --- a/arch/arm/kernel/calls.S +++ b/arch/arm/kernel/calls.S | |||
@@ -401,8 +401,9 @@ | |||
401 | CALL(sys_wait_for_ts_release) | 401 | CALL(sys_wait_for_ts_release) |
402 | /* 390 */ CALL(sys_release_ts) | 402 | /* 390 */ CALL(sys_release_ts) |
403 | CALL(sys_null_call) | 403 | CALL(sys_null_call) |
404 | CALL(sys_reservation_create) | 404 | CALL(sys_reservation_create) |
405 | CALL(sys_reservation_destroy) | 405 | CALL(sys_reservation_destroy) |
406 | CALL(sys_set_mc2_task_param) | ||
406 | 407 | ||
407 | #ifndef syscalls_counted | 408 | #ifndef syscalls_counted |
408 | .equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls | 409 | .equ syscalls_padding, ((NR_syscalls + 3) & ~3) - NR_syscalls |
diff --git a/arch/x86/syscalls/syscall_32.tbl b/arch/x86/syscalls/syscall_32.tbl index 290c879cda4a..20f6cdcf56dd 100644 --- a/arch/x86/syscalls/syscall_32.tbl +++ b/arch/x86/syscalls/syscall_32.tbl | |||
@@ -370,5 +370,6 @@ | |||
370 | 360 i386 wait_for_ts_release sys_wait_for_ts_release | 370 | 360 i386 wait_for_ts_release sys_wait_for_ts_release |
371 | 361 i386 release_ts sys_release_ts | 371 | 361 i386 release_ts sys_release_ts |
372 | 362 i386 null_call sys_null_call | 372 | 362 i386 null_call sys_null_call |
373 | 363 i386 reservation_create sys_reservation_create | 373 | 363 i386 reservation_create sys_reservation_create |
374 | 364 i386 reservation_destroy sys_reservation_destroy | 374 | 364 i386 reservation_destroy sys_reservation_destroy |
375 | 365 i386 set_mc2_task_param sys_set_mc2_task_param | ||
diff --git a/arch/x86/syscalls/syscall_64.tbl b/arch/x86/syscalls/syscall_64.tbl index d39de2aed519..f3d142c2a900 100644 --- a/arch/x86/syscalls/syscall_64.tbl +++ b/arch/x86/syscalls/syscall_64.tbl | |||
@@ -333,9 +333,9 @@ | |||
333 | 360 common wait_for_ts_release sys_wait_for_ts_release | 333 | 360 common wait_for_ts_release sys_wait_for_ts_release |
334 | 361 common release_ts sys_release_ts | 334 | 361 common release_ts sys_release_ts |
335 | 362 common null_call sys_null_call | 335 | 362 common null_call sys_null_call |
336 | 363 common reservation_create sys_reservation_create | 336 | 363 common reservation_create sys_reservation_create |
337 | 364 common reservation_destroy sys_reservation_destroy | 337 | 364 common reservation_destroy sys_reservation_destroy |
338 | 338 | 365 common set_mc2_task_param sys_set_mc2_task_param | |
339 | 339 | ||
340 | # | 340 | # |
341 | # x32-specific system call numbers start at 512 to avoid cache impact | 341 | # x32-specific system call numbers start at 512 to avoid cache impact |
diff --git a/include/litmus/unistd_32.h b/include/litmus/unistd_32.h index 5f6a2749c6a7..202f439a62ae 100644 --- a/include/litmus/unistd_32.h +++ b/include/litmus/unistd_32.h | |||
@@ -19,5 +19,6 @@ | |||
19 | #define __NR_null_call __LSC(11) | 19 | #define __NR_null_call __LSC(11) |
20 | #define __NR_reservation_create __LSC(12) | 20 | #define __NR_reservation_create __LSC(12) |
21 | #define __NR_reservation_destroy __LSC(13) | 21 | #define __NR_reservation_destroy __LSC(13) |
22 | #define __NR_set_mc2_task_param __LSC(14) | ||
22 | 23 | ||
23 | #define NR_litmus_syscalls 14 | 24 | #define NR_litmus_syscalls 15 |
diff --git a/include/litmus/unistd_64.h b/include/litmus/unistd_64.h index 3e6b1d330336..ba2c91c5bf8c 100644 --- a/include/litmus/unistd_64.h +++ b/include/litmus/unistd_64.h | |||
@@ -33,6 +33,7 @@ __SYSCALL(__NR_null_call, sys_null_call) | |||
33 | __SYSCALL(__NR_reservation_create, sys_reservation_create) | 33 | __SYSCALL(__NR_reservation_create, sys_reservation_create) |
34 | #define __NR_reservation_destroy __LSC(13) | 34 | #define __NR_reservation_destroy __LSC(13) |
35 | __SYSCALL(__NR_reservation_destroy, sys_reservation_destroy) | 35 | __SYSCALL(__NR_reservation_destroy, sys_reservation_destroy) |
36 | #define __NR_set_mc2_task_param __LSC(14) | ||
37 | __SYSCALL(__NR_set_mc2_task_param, sys_set_mc2_task_param) | ||
36 | 38 | ||
37 | 39 | #define NR_litmus_syscalls 15 | |
38 | #define NR_litmus_syscalls 14 | ||