aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/syscalls.c18
1 files changed, 4 insertions, 14 deletions
diff --git a/src/syscalls.c b/src/syscalls.c
index c738ac4..d800141 100644
--- a/src/syscalls.c
+++ b/src/syscalls.c
@@ -44,24 +44,14 @@ int od_close(int od)
44 return syscall(__NR_od_close, od); 44 return syscall(__NR_od_close, od);
45} 45}
46 46
47int fmlp_down(int od) 47int litmus_lock(int od)
48{ 48{
49 return syscall(__NR_fmlp_down, od); 49 return syscall(__NR_litmus_lock, od);
50} 50}
51 51
52int fmlp_up(int od) 52int litmus_unlock(int od)
53{ 53{
54 return syscall(__NR_fmlp_up, od); 54 return syscall(__NR_litmus_unlock, od);
55}
56
57int srp_down(int od)
58{
59 return syscall(__NR_srp_down, od);
60}
61
62int srp_up(int od)
63{
64 return syscall(__NR_srp_up, od);
65} 55}
66 56
67int get_job_no(unsigned int *job_no) 57int get_job_no(unsigned int *job_no)