diff options
Diffstat (limited to 'include/litmus/sched_mc.h')
-rw-r--r-- | include/litmus/sched_mc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/litmus/sched_mc.h b/include/litmus/sched_mc.h index 66910773f430..3ca5576f7662 100644 --- a/include/litmus/sched_mc.h +++ b/include/litmus/sched_mc.h | |||
@@ -30,6 +30,10 @@ struct mc_data { | |||
30 | struct mc_job mc_job; | 30 | struct mc_job mc_job; |
31 | }; | 31 | }; |
32 | 32 | ||
33 | #define tsk_mc_data(t) (tsk_rt(t)->mc_data) | ||
34 | #define tsk_mc_crit(t) (tsk_mc_data(t)->mc_task.crit) | ||
35 | #define is_ghost(t) (tsk_mc_data(t)->mc_job.is_ghost) | ||
36 | |||
33 | #endif /* __KERNEL__ */ | 37 | #endif /* __KERNEL__ */ |
34 | 38 | ||
35 | #endif | 39 | #endif |