diff options
author | Glenn Elliott <gelliott@cs.unc.edu> | 2012-04-13 16:18:03 -0400 |
---|---|---|
committer | Glenn Elliott <gelliott@cs.unc.edu> | 2012-04-13 16:18:03 -0400 |
commit | c0667dc4894e913048cf8904f0ce9a79b481b556 (patch) | |
tree | 1803f6f9a6de45c949f57d1172aab4aa2546393b /litmus/litmus.c | |
parent | 8eb55f8fa1a2c3854f0f77b9b8663178c0129f6c (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.c | 2 |
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 | ||