diff options
author | Glenn Elliott <gelliott@cs.unc.edu> | 2013-04-05 17:19:15 -0400 |
---|---|---|
committer | Glenn Elliott <gelliott@cs.unc.edu> | 2013-04-05 18:12:00 -0400 |
commit | 472e2944b12226d9d4407fb702ce98bba76b1b7d (patch) | |
tree | f0f3ff3def3204cf47063f25ce837a0aee4faf7e /litmus/rt_domain.c | |
parent | bf7f892f22a6a6804f09168256226cc6c2bc230c (diff) |
CONFIG: Allow ready queue lock to be recurisve.
Adds a configuration option to allow the ready queue
to be a recursive (raw) spinlock. This is useful
in implementing inheritance from nested locking
and budget enforcement actions.
Diffstat (limited to 'litmus/rt_domain.c')
-rw-r--r-- | litmus/rt_domain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/litmus/rt_domain.c b/litmus/rt_domain.c index 4528c4362ecf..abf54ad5c2f2 100644 --- a/litmus/rt_domain.c +++ b/litmus/rt_domain.c | |||
@@ -286,7 +286,7 @@ void rt_domain_init(rt_domain_t *rt, | |||
286 | for (i = 0; i < RELEASE_QUEUE_SLOTS; i++) | 286 | for (i = 0; i < RELEASE_QUEUE_SLOTS; i++) |
287 | INIT_LIST_HEAD(&rt->release_queue.slot[i]); | 287 | INIT_LIST_HEAD(&rt->release_queue.slot[i]); |
288 | 288 | ||
289 | raw_spin_lock_init(&rt->ready_lock); | 289 | raw_readyq_lock_init(&rt->ready_lock); |
290 | raw_spin_lock_init(&rt->release_lock); | 290 | raw_spin_lock_init(&rt->release_lock); |
291 | raw_spin_lock_init(&rt->tobe_lock); | 291 | raw_spin_lock_init(&rt->tobe_lock); |
292 | 292 | ||