aboutsummaryrefslogtreecommitdiffstats
path: root/include/litmus/event_group.h
diff options
context:
space:
mode:
authorJonathan Herman <hermanjl@cs.unc.edu>2011-10-08 21:07:30 -0400
committerJonathan Herman <hermanjl@cs.unc.edu>2011-10-08 21:07:30 -0400
commit3d39c63ff7b9ec086fd8004951af439757a2fd49 (patch)
treefc26741925e249c0aebe5a7f02d3d53599f8bb3c /include/litmus/event_group.h
parent5177128caca8a03d19c293de841ce05070b1c7e9 (diff)
Renamed list variables for clarity in event_list
Diffstat (limited to 'include/litmus/event_group.h')
-rw-r--r--include/litmus/event_group.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/include/litmus/event_group.h b/include/litmus/event_group.h
index 51d9a0a51e85..90ddd0bfe673 100644
--- a/include/litmus/event_group.h
+++ b/include/litmus/event_group.h
@@ -24,7 +24,7 @@ struct event_list {
24 struct hrtimer timer; 24 struct hrtimer timer;
25 struct hrtimer_start_on_info info; 25 struct hrtimer_start_on_info info;
26 26
27 struct list_head list; /* For event_queue */ 27 struct list_head queue_node; /* For event_queue */
28 struct event_group* group; /* For callback */ 28 struct event_group* group; /* For callback */
29}; 29};
30 30
@@ -38,19 +38,17 @@ struct rt_event {
38 int prio; 38 int prio;
39 39
40 /* For membership in the event_list */ 40 /* For membership in the event_list */
41 struct list_head list; 41 struct list_head events_node;
42 /* To avoid runtime allocation. This is NOT necessarily 42 /* To avoid runtime allocation. This is NOT necessarily
43 * the event_list containing this event. This is just a 43 * the event_list containing this event. This is just a
44 * pre-allocated event list which can be used for merging 44 * pre-allocated event list which can be used for merging
45 * events. 45 * events.
46 */ 46 */
47 struct event_list *event_list; 47 struct event_list* event_list;
48 48 /* Pointer set by add_event() so that we can cancel this event
49 /*
50 * Pointer set by add_event() so that we can cancel this event
51 * without knowing what group it is in (don't touch it). 49 * without knowing what group it is in (don't touch it).
52 */ 50 */
53 struct event_group *_event_group; 51 struct event_group* _event_group;
54}; 52};
55 53
56/** 54/**