diff options
Diffstat (limited to 'include/litmus/nvidia_info.h')
-rw-r--r-- | include/litmus/nvidia_info.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/include/litmus/nvidia_info.h b/include/litmus/nvidia_info.h index 9e07a27fdee3..dd41c4c72b85 100644 --- a/include/litmus/nvidia_info.h +++ b/include/litmus/nvidia_info.h | |||
@@ -28,11 +28,17 @@ int init_nv_device_reg(void); | |||
28 | 28 | ||
29 | int reg_nv_device(int reg_device_id, int register_device); | 29 | int reg_nv_device(int reg_device_id, int register_device); |
30 | 30 | ||
31 | struct task_struct* get_nv_device_owner(u32 target_device_id); | 31 | struct task_struct* get_nv_max_device_owner(u32 target_device_id); |
32 | //int is_nv_device_owner(u32 target_device_id); | ||
32 | 33 | ||
33 | void lock_nv_registry(u32 reg_device_id, unsigned long* flags); | 34 | void lock_nv_registry(u32 reg_device_id, unsigned long* flags); |
34 | void unlock_nv_registry(u32 reg_device_id, unsigned long* flags); | 35 | void unlock_nv_registry(u32 reg_device_id, unsigned long* flags); |
35 | 36 | ||
36 | void increment_nv_int_count(u32 device); | 37 | #ifdef CONFIG_LITMUS_PAI_SOFTIRQD |
38 | void pai_check_priority_increase(struct task_struct *t, int reg_device_id); | ||
39 | void pai_check_priority_decrease(struct task_struct *t, int reg_device_id); | ||
40 | #endif | ||
41 | |||
42 | //void increment_nv_int_count(u32 device); | ||
37 | 43 | ||
38 | #endif | 44 | #endif |