aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMac Mollison <mollison@cs.unc.edu>2010-10-04 09:24:45 -0400
committerMac Mollison <mollison@cs.unc.edu>2010-10-04 09:24:45 -0400
commit5470a5c6e46101a2adc4b7dfe31dc69220a10bbd (patch)
tree4e877cab126fb94c90a2a4f4ecdcdd2042b5b3ef /include
parent13bd6c03d351a1b1c9ede640be92684c2252ac36 (diff)
Fixes
- Fix reference to criticality in higher_criticality macro - Fix reference to criticality in TRACE() call
Diffstat (limited to 'include')
-rw-r--r--include/litmus/litmus.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/litmus/litmus.h b/include/litmus/litmus.h
index 64ea5f62e8e5..e21a6b69c2db 100644
--- a/include/litmus/litmus.h
+++ b/include/litmus/litmus.h
@@ -121,7 +121,7 @@ static inline lt_t litmus_clock(void)
121 (lt_before_eq(tsk_rt(t)->job_params.deadline, now)) 121 (lt_before_eq(tsk_rt(t)->job_params.deadline, now))
122 122
123/* real-time comparison macros */ 123/* real-time comparison macros */
124#define higher_criticality(a, b) ( a->rt_param.crit < b->rt_param.crit ) 124#define higher_criticality(a, b) ( a->rt_param.task_params.crit < b->rt_param.task_params.crit )
125#define earlier_deadline(a, b) (lt_before(\ 125#define earlier_deadline(a, b) (lt_before(\
126 (a)->rt_param.job_params.deadline,\ 126 (a)->rt_param.job_params.deadline,\
127 (b)->rt_param.job_params.deadline)) 127 (b)->rt_param.job_params.deadline))