diff options
Diffstat (limited to 'litmus/reservation.c')
-rw-r--r-- | litmus/reservation.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/litmus/reservation.c b/litmus/reservation.c index cd51b90c14a0..447fc5b1be23 100644 --- a/litmus/reservation.c +++ b/litmus/reservation.c | |||
@@ -40,8 +40,8 @@ void task_client_init(struct task_client *tc, struct task_struct *tsk, | |||
40 | { | 40 | { |
41 | memset(&tc->client, sizeof(tc->client), 0); | 41 | memset(&tc->client, sizeof(tc->client), 0); |
42 | tc->client.dispatch = task_client_dispatch; | 42 | tc->client.dispatch = task_client_dispatch; |
43 | tc->client.reservation = res; | ||
43 | tc->task = tsk; | 44 | tc->task = tsk; |
44 | tc->reservation = res; | ||
45 | } | 45 | } |
46 | 46 | ||
47 | static void sup_scheduler_update_at( | 47 | static void sup_scheduler_update_at( |
@@ -180,7 +180,7 @@ static void sup_charge_budget( | |||
180 | { | 180 | { |
181 | struct list_head *pos, *next; | 181 | struct list_head *pos, *next; |
182 | struct reservation *res; | 182 | struct reservation *res; |
183 | 183 | ||
184 | int encountered_active = 0; | 184 | int encountered_active = 0; |
185 | 185 | ||
186 | list_for_each_safe(pos, next, &sup_env->active_reservations) { | 186 | list_for_each_safe(pos, next, &sup_env->active_reservations) { |