diff options
author | Bjoern Brandenburg <bbb@mpi-sws.org> | 2014-04-30 12:35:11 -0400 |
---|---|---|
committer | Bjoern Brandenburg <bbb@mpi-sws.org> | 2015-09-07 16:47:32 -0400 |
commit | 0ce2d95d10bc7ecab7fcf1e4bb5d9942625f91e7 (patch) | |
tree | 39a9e408fd4fe55129b791ef591fff5cef1ce0f2 | |
parent | 2971daf071d2c0a35986f16bfed7e661e7e88f92 (diff) |
Add x86 syscall defs for get_current_budget
-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 |