From c0667dc4894e913048cf8904f0ce9a79b481b556 Mon Sep 17 00:00:00 2001 From: Glenn Elliott Date: Fri, 13 Apr 2012 16:18:03 -0400 Subject: Move RSM and IKGLP imp. to own .c files Also reformated code to be slightly more standard coding practice compliant. --- litmus/litmus.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'litmus/litmus.c') 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) bheap_node_init(&tsk_rt(tsk)->heap_node, tsk); } +#ifdef CONFIG_LITMUS_NESTED_LOCKING tsk_rt(tsk)->blocked_lock = NULL; raw_spin_lock_init(&tsk_rt(tsk)->hp_blocked_tasks_lock); +#endif retval = litmus->admit_task(tsk); -- cgit v1.2.2