diff options
Diffstat (limited to 'include/litmus')
-rw-r--r-- | include/litmus/litmus.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/litmus/litmus.h b/include/litmus/litmus.h index 69894f59c8d8..5d20276e44f4 100644 --- a/include/litmus/litmus.h +++ b/include/litmus/litmus.h | |||
@@ -96,6 +96,8 @@ inline static lt_t budget_remaining(struct task_struct* t) | |||
96 | 96 | ||
97 | #define budget_enforced(t) (tsk_rt(t)->task_params.budget_policy != NO_ENFORCEMENT) | 97 | #define budget_enforced(t) (tsk_rt(t)->task_params.budget_policy != NO_ENFORCEMENT) |
98 | 98 | ||
99 | #define budget_precisely_enforced(t) (tsk_rt(t)->task_params.budget_policy \ | ||
100 | == PRECISE_ENFORCEMENT) | ||
99 | 101 | ||
100 | #define is_hrt(t) \ | 102 | #define is_hrt(t) \ |
101 | (tsk_rt(t)->task_params.class == RT_CLASS_HARD) | 103 | (tsk_rt(t)->task_params.class == RT_CLASS_HARD) |