aboutsummaryrefslogtreecommitdiffstats
path: root/litmus/locking.c
diff options
context:
space:
mode:
authorBryan Ward <bcw@cs.unc.edu>2013-04-16 14:22:45 -0400
committerBryan Ward <bcw@cs.unc.edu>2013-04-16 14:40:24 -0400
commitd6ba4603c299657235ce49bbfb9542d3e4511c26 (patch)
tree5422ac51c75c88b7e6b83f65e07c51d8ae3c8a72 /litmus/locking.c
parent89fd339cb393a0b4f6d8923d7468cf87dcd85de8 (diff)
Fixed a boosting bug.
Diffstat (limited to 'litmus/locking.c')
-rw-r--r--litmus/locking.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/litmus/locking.c b/litmus/locking.c
index 65fd51f2c80a..665eef30fe0f 100644
--- a/litmus/locking.c
+++ b/litmus/locking.c
@@ -69,7 +69,6 @@ asmlinkage long sys_dynamic_group_lock(resource_mask_t lock_ods)
69 if (entry && is_lock(entry)) { 69 if (entry && is_lock(entry)) {
70 l = get_lock(entry); 70 l = get_lock(entry);
71 if (l->type == DGL_SEM){ 71 if (l->type == DGL_SEM){
72 TRACE_CUR("attempts to lock %d\n", lock_ods);
73 err = l->ops->dynamic_group_lock(l, lock_ods); 72 err = l->ops->dynamic_group_lock(l, lock_ods);
74 } 73 }
75 } 74 }
@@ -91,7 +90,6 @@ asmlinkage long sys_dynamic_group_unlock(resource_mask_t lock_ods)
91 if (entry && is_lock(entry)) { 90 if (entry && is_lock(entry)) {
92 l = get_lock(entry); 91 l = get_lock(entry);
93 if (l->type == DGL_SEM){ 92 if (l->type == DGL_SEM){
94 TRACE_CUR("attempts to unlock all resources in 0x%p\n",l);
95 err = l->ops->dynamic_group_unlock(l, lock_ods); 93 err = l->ops->dynamic_group_unlock(l, lock_ods);
96 } else{ 94 } else{
97 TRACE_CUR("Wrong Type: %d\n", l->type); 95 TRACE_CUR("Wrong Type: %d\n", l->type);