aboutsummaryrefslogtreecommitdiffstats
path: root/include/litmus/fdso.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/litmus/fdso.h')
-rw-r--r--include/litmus/fdso.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/litmus/fdso.h b/include/litmus/fdso.h
index e1a0ac24b8a2..f7887288d8f5 100644
--- a/include/litmus/fdso.h
+++ b/include/litmus/fdso.h
@@ -35,7 +35,9 @@ typedef enum {
35 KFMLP_SIMPLE_GPU_AFF_OBS = 11, 35 KFMLP_SIMPLE_GPU_AFF_OBS = 11,
36 KFMLP_GPU_AFF_OBS = 12, 36 KFMLP_GPU_AFF_OBS = 12,
37 37
38 MAX_OBJ_TYPE = 12 38 PRIOQ_MUTEX = 13,
39
40 MAX_OBJ_TYPE = 13
39} obj_type_t; 41} obj_type_t;
40 42
41struct inode_obj_id { 43struct inode_obj_id {
@@ -84,6 +86,6 @@ static inline void* od_lookup(int od, obj_type_t type)
84#define lookup_ics(od) ((struct ics*) od_lookup(od, ICS_ID)) 86#define lookup_ics(od) ((struct ics*) od_lookup(od, ICS_ID))
85 87
86#define lookup_fifo_mutex(od)((struct litmus_lock*) od_lookup(od, FIFO_MUTEX)) 88#define lookup_fifo_mutex(od)((struct litmus_lock*) od_lookup(od, FIFO_MUTEX))
87 89#define lookup_prioq_mutex(od)((struct litmus_lock*) od_lookup(od, PRIOQ_MUTEX))
88 90
89#endif 91#endif