diff options
-rw-r--r-- | arch/x86/syscalls/syscall_32.tbl | 1 | ||||
-rw-r--r-- | arch/x86/syscalls/syscall_64.tbl | 2 | ||||
-rw-r--r-- | include/litmus/unistd_32.h | 3 | ||||
-rw-r--r-- | include/litmus/unistd_64.h | 4 |
4 files changed, 7 insertions, 3 deletions
diff --git a/arch/x86/syscalls/syscall_32.tbl b/arch/x86/syscalls/syscall_32.tbl index 34680a5292de..a0ec8abc51f3 100644 --- a/arch/x86/syscalls/syscall_32.tbl +++ b/arch/x86/syscalls/syscall_32.tbl | |||
@@ -377,3 +377,4 @@ | |||
377 | 368 i386 wait_for_ts_release sys_wait_for_ts_release | 377 | 368 i386 wait_for_ts_release sys_wait_for_ts_release |
378 | 369 i386 release_ts sys_release_ts | 378 | 369 i386 release_ts sys_release_ts |
379 | 370 i386 null_call sys_null_call | 379 | 370 i386 null_call sys_null_call |
380 | 371 i386 get_current_budget sys_get_current_budget | ||
diff --git a/arch/x86/syscalls/syscall_64.tbl b/arch/x86/syscalls/syscall_64.tbl index cbd1b6b402a9..04f5b7483db3 100644 --- a/arch/x86/syscalls/syscall_64.tbl +++ b/arch/x86/syscalls/syscall_64.tbl | |||
@@ -342,6 +342,8 @@ | |||
342 | 360 common wait_for_ts_release sys_wait_for_ts_release | 342 | 360 common wait_for_ts_release sys_wait_for_ts_release |
343 | 361 common release_ts sys_release_ts | 343 | 361 common release_ts sys_release_ts |
344 | 362 common null_call sys_null_call | 344 | 362 common null_call sys_null_call |
345 | 363 common get_current_budget sys_get_current_budget | ||
346 | |||
345 | 347 | ||
346 | # | 348 | # |
347 | # x32-specific system call numbers start at 512 to avoid cache impact | 349 | # 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 94264c27d9ac..d9eab50f7a71 100644 --- a/include/litmus/unistd_32.h +++ b/include/litmus/unistd_32.h | |||
@@ -17,5 +17,4 @@ | |||
17 | #define __NR_wait_for_ts_release __LSC(9) | 17 | #define __NR_wait_for_ts_release __LSC(9) |
18 | #define __NR_release_ts __LSC(10) | 18 | #define __NR_release_ts __LSC(10) |
19 | #define __NR_null_call __LSC(11) | 19 | #define __NR_null_call __LSC(11) |
20 | 20 | #define __NR_get_current_budget __LSC(12) | |
21 | #define NR_litmus_syscalls 12 | ||
diff --git a/include/litmus/unistd_64.h b/include/litmus/unistd_64.h index d5ced0d2642c..3096bf2f2798 100644 --- a/include/litmus/unistd_64.h +++ b/include/litmus/unistd_64.h | |||
@@ -29,5 +29,7 @@ __SYSCALL(__NR_wait_for_ts_release, sys_wait_for_ts_release) | |||
29 | __SYSCALL(__NR_release_ts, sys_release_ts) | 29 | __SYSCALL(__NR_release_ts, sys_release_ts) |
30 | #define __NR_null_call __LSC(11) | 30 | #define __NR_null_call __LSC(11) |
31 | __SYSCALL(__NR_null_call, sys_null_call) | 31 | __SYSCALL(__NR_null_call, sys_null_call) |
32 | #define __NR_get_current_budget __LSC(12) | ||
33 | __SYSCALL(____NR_get_current_budget, sys_get_current_budget) | ||
32 | 34 | ||
33 | #define NR_litmus_syscalls 12 | 35 | #define NR_litmus_syscalls 13 |