diff options
author | Andrea Bastoni <bastoni@cs.unc.edu> | 2009-12-17 21:47:19 -0500 |
---|---|---|
committer | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-05-29 17:19:53 -0400 |
commit | 0b28a3122d6917784701377e15a863489aee1c6c (patch) | |
tree | 259c8f59ed477e81f97b5dc6ac7ec8ce06ce1e26 /include/litmus/rt_domain.h | |
parent | c15be843778236e9f2fdbc207ab36ba996b2bb1b (diff) |
[ported from 2008.3] Add release-master support
Diffstat (limited to 'include/litmus/rt_domain.h')
-rw-r--r-- | include/litmus/rt_domain.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/litmus/rt_domain.h b/include/litmus/rt_domain.h index bde1e5a54812..c7c55bef3e42 100644 --- a/include/litmus/rt_domain.h +++ b/include/litmus/rt_domain.h | |||
@@ -28,6 +28,7 @@ typedef struct _rt_domain { | |||
28 | /* real-time tasks waiting for release are in here */ | 28 | /* real-time tasks waiting for release are in here */ |
29 | spinlock_t release_lock; | 29 | spinlock_t release_lock; |
30 | struct release_queue release_queue; | 30 | struct release_queue release_queue; |
31 | int release_master; | ||
31 | 32 | ||
32 | /* for moving tasks to the release queue */ | 33 | /* for moving tasks to the release queue */ |
33 | spinlock_t tobe_lock; | 34 | spinlock_t tobe_lock; |
@@ -51,6 +52,8 @@ struct release_heap { | |||
51 | struct heap heap; | 52 | struct heap heap; |
52 | /* used to trigger the release */ | 53 | /* used to trigger the release */ |
53 | struct hrtimer timer; | 54 | struct hrtimer timer; |
55 | /* used to delegate releases */ | ||
56 | struct hrtimer_start_on_info info; | ||
54 | /* required for the timer callback */ | 57 | /* required for the timer callback */ |
55 | rt_domain_t* dom; | 58 | rt_domain_t* dom; |
56 | }; | 59 | }; |