aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjoern Brandenburg <bbb@mpi-sws.org>2014-04-30 12:35:11 -0400
committerBjoern Brandenburg <bbb@mpi-sws.org>2015-09-07 16:47:32 -0400
commit0ce2d95d10bc7ecab7fcf1e4bb5d9942625f91e7 (patch)
tree39a9e408fd4fe55129b791ef591fff5cef1ce0f2
parent2971daf071d2c0a35986f16bfed7e661e7e88f92 (diff)
Add x86 syscall defs for get_current_budget
-rw-r--r--arch/x86/syscalls/syscall_32.tbl1
-rw-r--r--arch/x86/syscalls/syscall_64.tbl2
-rw-r--r--include/litmus/unistd_32.h3
-rw-r--r--include/litmus/unistd_64.h4
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 @@
377368 i386 wait_for_ts_release sys_wait_for_ts_release 377368 i386 wait_for_ts_release sys_wait_for_ts_release
378369 i386 release_ts sys_release_ts 378369 i386 release_ts sys_release_ts
379370 i386 null_call sys_null_call 379370 i386 null_call sys_null_call
380371 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 @@
342360 common wait_for_ts_release sys_wait_for_ts_release 342360 common wait_for_ts_release sys_wait_for_ts_release
343361 common release_ts sys_release_ts 343361 common release_ts sys_release_ts
344362 common null_call sys_null_call 344362 common null_call sys_null_call
345363 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