diff options
Diffstat (limited to 'include/litmus/rt_domain.h')
| -rw-r--r-- | include/litmus/rt_domain.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/litmus/rt_domain.h b/include/litmus/rt_domain.h index 9bf980713474..59e6b54e9281 100644 --- a/include/litmus/rt_domain.h +++ b/include/litmus/rt_domain.h | |||
| @@ -28,7 +28,10 @@ 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 | raw_spinlock_t release_lock; | 29 | raw_spinlock_t release_lock; |
| 30 | struct release_queue release_queue; | 30 | struct release_queue release_queue; |
| 31 | |||
| 32 | #ifdef CONFIG_RELEASE_MASTER | ||
| 31 | int release_master; | 33 | int release_master; |
| 34 | #endif | ||
| 32 | 35 | ||
| 33 | /* for moving tasks to the release queue */ | 36 | /* for moving tasks to the release queue */ |
| 34 | raw_spinlock_t tobe_lock; | 37 | raw_spinlock_t tobe_lock; |
| @@ -52,8 +55,11 @@ struct release_heap { | |||
| 52 | struct bheap heap; | 55 | struct bheap heap; |
| 53 | /* used to trigger the release */ | 56 | /* used to trigger the release */ |
| 54 | struct hrtimer timer; | 57 | struct hrtimer timer; |
| 58 | |||
| 59 | #ifdef CONFIG_RELEASE_MASTER | ||
| 55 | /* used to delegate releases */ | 60 | /* used to delegate releases */ |
| 56 | struct hrtimer_start_on_info info; | 61 | struct hrtimer_start_on_info info; |
| 62 | #endif | ||
| 57 | /* required for the timer callback */ | 63 | /* required for the timer callback */ |
| 58 | rt_domain_t* dom; | 64 | rt_domain_t* dom; |
| 59 | }; | 65 | }; |
