diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/litmus/sched_mc.h | 1 | ||||
-rw-r--r-- | include/litmus/sched_trace.h | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/include/litmus/sched_mc.h b/include/litmus/sched_mc.h index 0a1b3f0c718c..740cc11be5d7 100644 --- a/include/litmus/sched_mc.h +++ b/include/litmus/sched_mc.h | |||
@@ -34,6 +34,7 @@ struct mc_data { | |||
34 | #define tsk_mc_data(t) (tsk_rt(t)->mc_data) | 34 | #define tsk_mc_data(t) (tsk_rt(t)->mc_data) |
35 | #define tsk_mc_crit(t) (tsk_mc_data(t)->mc_task.crit) | 35 | #define tsk_mc_crit(t) (tsk_mc_data(t)->mc_task.crit) |
36 | #define is_ghost(t) (tsk_mc_data(t)->mc_job.is_ghost) | 36 | #define is_ghost(t) (tsk_mc_data(t)->mc_job.is_ghost) |
37 | |||
37 | #define TS "(%s/%d:%d:%s)" | 38 | #define TS "(%s/%d:%d:%s)" |
38 | #define TA(t) (t) ? tsk_mc_data(t) ? is_ghost(t) ? "ghost" : t->comm \ | 39 | #define TA(t) (t) ? tsk_mc_data(t) ? is_ghost(t) ? "ghost" : t->comm \ |
39 | : t->comm : "NULL", \ | 40 | : t->comm : "NULL", \ |
diff --git a/include/litmus/sched_trace.h b/include/litmus/sched_trace.h index 7179fc2745ad..5cc05be8332f 100644 --- a/include/litmus/sched_trace.h +++ b/include/litmus/sched_trace.h | |||
@@ -24,7 +24,8 @@ struct st_param_data { /* regular params */ | |||
24 | u32 phase; | 24 | u32 phase; |
25 | u8 partition; | 25 | u8 partition; |
26 | u8 class; | 26 | u8 class; |
27 | u8 __unused[2]; | 27 | u8 level; |
28 | u8 __unused[1]; | ||
28 | }; | 29 | }; |
29 | 30 | ||
30 | struct st_release_data { /* A job is was/is going to be released. */ | 31 | struct st_release_data { /* A job is was/is going to be released. */ |