aboutsummaryrefslogtreecommitdiffstats
path: root/litmus/litmus.c
diff options
context:
space:
mode:
authorGlenn Elliott <gelliott@cs.unc.edu>2012-04-13 16:18:03 -0400
committerGlenn Elliott <gelliott@cs.unc.edu>2012-04-13 16:18:03 -0400
commitc0667dc4894e913048cf8904f0ce9a79b481b556 (patch)
tree1803f6f9a6de45c949f57d1172aab4aa2546393b /litmus/litmus.c
parent8eb55f8fa1a2c3854f0f77b9b8663178c0129f6c (diff)
Move RSM and IKGLP imp. to own .c fileswip-ikglp
Also reformated code to be slightly more standard coding practice compliant.
Diffstat (limited to 'litmus/litmus.c')
-rw-r--r--litmus/litmus.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/litmus/litmus.c b/litmus/litmus.c
index 68285b319160..7271af09a188 100644
--- a/litmus/litmus.c
+++ b/litmus/litmus.c
@@ -379,8 +379,10 @@ long litmus_admit_task(struct task_struct* tsk)
379 bheap_node_init(&tsk_rt(tsk)->heap_node, tsk); 379 bheap_node_init(&tsk_rt(tsk)->heap_node, tsk);
380 } 380 }
381 381
382#ifdef CONFIG_LITMUS_NESTED_LOCKING
382 tsk_rt(tsk)->blocked_lock = NULL; 383 tsk_rt(tsk)->blocked_lock = NULL;
383 raw_spin_lock_init(&tsk_rt(tsk)->hp_blocked_tasks_lock); 384 raw_spin_lock_init(&tsk_rt(tsk)->hp_blocked_tasks_lock);
385#endif
384 386
385 retval = litmus->admit_task(tsk); 387 retval = litmus->admit_task(tsk);
386 388