aboutsummaryrefslogtreecommitdiffstats
path: root/include/litmus/litmus.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/litmus/litmus.h')
-rw-r--r--include/litmus/litmus.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/litmus/litmus.h b/include/litmus/litmus.h
index 62107e659c12..d515d1af1096 100644
--- a/include/litmus/litmus.h
+++ b/include/litmus/litmus.h
@@ -83,6 +83,8 @@ inline static int budget_exhausted(struct task_struct* t)
83 return get_exec_time(t) >= get_exec_cost(t); 83 return get_exec_time(t) >= get_exec_cost(t);
84} 84}
85 85
86#define budget_enforced(t) (tsk_rt(t)->task_params.budget_policy != NO_ENFORCEMENT)
87
86 88
87#define is_hrt(t) \ 89#define is_hrt(t) \
88 (tsk_rt(t)->task_params.class == RT_CLASS_HARD) 90 (tsk_rt(t)->task_params.class == RT_CLASS_HARD)