aboutsummaryrefslogtreecommitdiffstats
path: root/include/litmus/kfmlp_lock.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/litmus/kfmlp_lock.h')
-rw-r--r--include/litmus/kfmlp_lock.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/litmus/kfmlp_lock.h b/include/litmus/kfmlp_lock.h
index 5f0aae6e6f42..3609a3a20424 100644
--- a/include/litmus/kfmlp_lock.h
+++ b/include/litmus/kfmlp_lock.h
@@ -46,7 +46,7 @@ int kfmlp_close(struct litmus_lock* l);
46void kfmlp_free(struct litmus_lock* l); 46void kfmlp_free(struct litmus_lock* l);
47struct litmus_lock* kfmlp_new(struct litmus_lock_ops*, void* __user arg); 47struct litmus_lock* kfmlp_new(struct litmus_lock_ops*, void* __user arg);
48 48
49#if defined(CONFIG_LITMUS_AFFINITY_LOCKING) && defined(CONFIG_LITMUS_NVIDIA) 49#ifdef CONFIG_LITMUS_AFFINITY_LOCKING
50 50
51struct kfmlp_queue_info 51struct kfmlp_queue_info
52{ 52{
@@ -84,14 +84,15 @@ static inline struct kfmlp_affinity* kfmlp_aff_obs_from_aff_obs(struct affinity_
84 84
85int kfmlp_aff_obs_close(struct affinity_observer*); 85int kfmlp_aff_obs_close(struct affinity_observer*);
86void kfmlp_aff_obs_free(struct affinity_observer*); 86void kfmlp_aff_obs_free(struct affinity_observer*);
87
88#ifdef CONFIG_LITMUS_NVIDIA
87struct affinity_observer* kfmlp_gpu_aff_obs_new(struct affinity_observer_ops*, 89struct affinity_observer* kfmlp_gpu_aff_obs_new(struct affinity_observer_ops*,
88 void* __user arg); 90 void* __user arg);
89struct affinity_observer* kfmlp_simple_gpu_aff_obs_new(struct affinity_observer_ops*, 91struct affinity_observer* kfmlp_simple_gpu_aff_obs_new(struct affinity_observer_ops*,
90 void* __user arg); 92 void* __user arg);
91
92
93#endif 93#endif
94 94
95#endif 95#endif /* end affinity */
96 96
97#endif
97 98