diff options
Diffstat (limited to 'litmus/locking.c')
-rw-r--r-- | litmus/locking.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/litmus/locking.c b/litmus/locking.c index 8ee6a6b68009..728b56835cf7 100644 --- a/litmus/locking.c +++ b/litmus/locking.c | |||
@@ -69,7 +69,7 @@ asmlinkage long sys_litmus_lock(int lock_od) | |||
69 | struct od_table_entry* entry; | 69 | struct od_table_entry* entry; |
70 | struct litmus_lock* l; | 70 | struct litmus_lock* l; |
71 | 71 | ||
72 | TS_PI_DOWN_START; | 72 | TS_LOCK_START; |
73 | 73 | ||
74 | entry = get_entry_for_od(lock_od); | 74 | entry = get_entry_for_od(lock_od); |
75 | if (entry && is_lock(entry)) { | 75 | if (entry && is_lock(entry)) { |
@@ -80,7 +80,7 @@ asmlinkage long sys_litmus_lock(int lock_od) | |||
80 | 80 | ||
81 | /* Note: task my have been suspended or preempted in between! Take | 81 | /* Note: task my have been suspended or preempted in between! Take |
82 | * this into account when computing overheads. */ | 82 | * this into account when computing overheads. */ |
83 | TS_PI_DOWN_END; | 83 | TS_UNLOCK_END; |
84 | 84 | ||
85 | return err; | 85 | return err; |
86 | } | 86 | } |
@@ -91,7 +91,7 @@ asmlinkage long sys_litmus_unlock(int lock_od) | |||
91 | struct od_table_entry* entry; | 91 | struct od_table_entry* entry; |
92 | struct litmus_lock* l; | 92 | struct litmus_lock* l; |
93 | 93 | ||
94 | TS_PI_UP_START; | 94 | TS_UNLOCK_START; |
95 | 95 | ||
96 | entry = get_entry_for_od(lock_od); | 96 | entry = get_entry_for_od(lock_od); |
97 | if (entry && is_lock(entry)) { | 97 | if (entry && is_lock(entry)) { |
@@ -102,7 +102,7 @@ asmlinkage long sys_litmus_unlock(int lock_od) | |||
102 | 102 | ||
103 | /* Note: task my have been preempted in between! Take this into | 103 | /* Note: task my have been preempted in between! Take this into |
104 | * account when computing overheads. */ | 104 | * account when computing overheads. */ |
105 | TS_PI_UP_END; | 105 | TS_UNLOCK_END; |
106 | 106 | ||
107 | return err; | 107 | return err; |
108 | } | 108 | } |