aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/litmus/reservation.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/litmus/reservation.h b/include/litmus/reservation.h
index d8d6ce37dc47..9c23e27165b2 100644
--- a/include/litmus/reservation.h
+++ b/include/litmus/reservation.h
@@ -33,9 +33,11 @@ typedef struct task_struct * (*dispatch_t) (
33); 33);
34 34
35/* Something that can be managed in a reservation and that can yield 35/* Something that can be managed in a reservation and that can yield
36 * a process for dispatching. */ 36 * a process for dispatching. Contains a pointer to the reservation
37 * to which it "belongs". */
37struct reservation_client { 38struct reservation_client {
38 struct list_head list; 39 struct list_head list;
40 struct reservation* reservation;
39 dispatch_t dispatch; 41 dispatch_t dispatch;
40}; 42};
41 43
@@ -135,7 +137,6 @@ struct task_struct* default_dispatch_client(
135/* "connector" reservation client to hook up tasks with reservations */ 137/* "connector" reservation client to hook up tasks with reservations */
136struct task_client { 138struct task_client {
137 struct reservation_client client; 139 struct reservation_client client;
138 struct reservation* reservation;
139 struct task_struct *task; 140 struct task_struct *task;
140}; 141};
141 142