aboutsummaryrefslogtreecommitdiffstats
path: root/include/litmus/ikglp_lock.h
diff options
context:
space:
mode:
authorGlenn Elliott <gelliott@cs.unc.edu>2013-02-08 13:07:07 -0500
committerGlenn Elliott <gelliott@cs.unc.edu>2013-02-08 13:07:07 -0500
commit6678944975e0eccc51039121fadaa7d29858bec2 (patch)
tree05aa8148fcab6480b7725e46a35922ad5b7658b4 /include/litmus/ikglp_lock.h
parent09939a5991fedc0d9f95e0ec9f26aa75e9c2da23 (diff)
Extend support for PRIOQ_MUTEX
Diffstat (limited to 'include/litmus/ikglp_lock.h')
-rw-r--r--include/litmus/ikglp_lock.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/litmus/ikglp_lock.h b/include/litmus/ikglp_lock.h
index af155eadbb35..f9178d3dfba9 100644
--- a/include/litmus/ikglp_lock.h
+++ b/include/litmus/ikglp_lock.h
@@ -107,7 +107,7 @@ struct litmus_lock* ikglp_new(int m, struct litmus_lock_ops*, void* __user arg);
107 107
108 108
109 109
110#if defined(CONFIG_LITMUS_AFFINITY_LOCKING) && defined(CONFIG_LITMUS_NVIDIA) 110#ifdef CONFIG_LITMUS_AFFINITY_LOCKING
111 111
112struct ikglp_queue_info 112struct ikglp_queue_info
113{ 113{
@@ -153,12 +153,15 @@ static inline struct ikglp_affinity* ikglp_aff_obs_from_aff_obs(struct affinity_
153 153
154int ikglp_aff_obs_close(struct affinity_observer*); 154int ikglp_aff_obs_close(struct affinity_observer*);
155void ikglp_aff_obs_free(struct affinity_observer*); 155void ikglp_aff_obs_free(struct affinity_observer*);
156
157#ifdef CONFIG_LITMUS_NVIDIA
156struct affinity_observer* ikglp_gpu_aff_obs_new(struct affinity_observer_ops*, 158struct affinity_observer* ikglp_gpu_aff_obs_new(struct affinity_observer_ops*,
157 void* __user arg); 159 void* __user arg);
158struct affinity_observer* ikglp_simple_gpu_aff_obs_new(struct affinity_observer_ops*, 160struct affinity_observer* ikglp_simple_gpu_aff_obs_new(struct affinity_observer_ops*,
159 void* __user arg); 161 void* __user arg);
160#endif 162#endif
161 163
162 164#endif /* end affinity */
163 165
164#endif 166#endif
167