diff options
Diffstat (limited to 'litmus/nvidia_info.c')
-rw-r--r-- | litmus/nvidia_info.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/litmus/nvidia_info.c b/litmus/nvidia_info.c index d04c6efa5f05..22586cde8255 100644 --- a/litmus/nvidia_info.c +++ b/litmus/nvidia_info.c | |||
@@ -506,7 +506,7 @@ static int __reg_nv_device(int reg_device_id, struct task_struct *t) | |||
506 | } | 506 | } |
507 | 507 | ||
508 | #ifdef CONFIG_LITMUS_SOFTIRQD | 508 | #ifdef CONFIG_LITMUS_SOFTIRQD |
509 | down_and_set_stat(t, HELD, &tsk_rt(t)->klitirqd_sem); | 509 | down_and_set_stat(t, HELD, &tsk_rt(t)->klmirqd_sem); |
510 | #endif | 510 | #endif |
511 | ++(reg->nr_owners); | 511 | ++(reg->nr_owners); |
512 | 512 | ||
@@ -535,7 +535,7 @@ static int __clear_reg_nv_device(int de_reg_device_id, struct task_struct *t) | |||
535 | nv_device_registry_t *reg = &NV_DEVICE_REG[de_reg_device_id]; | 535 | nv_device_registry_t *reg = &NV_DEVICE_REG[de_reg_device_id]; |
536 | 536 | ||
537 | #ifdef CONFIG_LITMUS_SOFTIRQD | 537 | #ifdef CONFIG_LITMUS_SOFTIRQD |
538 | struct task_struct* klitirqd_th = get_klitirqd(de_reg_device_id); | 538 | struct task_struct* klmirqd_th = get_klmirqd(de_reg_device_id); |
539 | #endif | 539 | #endif |
540 | 540 | ||
541 | if(!test_bit(de_reg_device_id, &tsk_rt(t)->held_gpus)) { | 541 | if(!test_bit(de_reg_device_id, &tsk_rt(t)->held_gpus)) { |
@@ -549,7 +549,7 @@ static int __clear_reg_nv_device(int de_reg_device_id, struct task_struct *t) | |||
549 | for(i = 0; i < NV_MAX_SIMULT_USERS; ++i) { | 549 | for(i = 0; i < NV_MAX_SIMULT_USERS; ++i) { |
550 | if(reg->owners[i] == t) { | 550 | if(reg->owners[i] == t) { |
551 | #ifdef CONFIG_LITMUS_SOFTIRQD | 551 | #ifdef CONFIG_LITMUS_SOFTIRQD |
552 | flush_pending(klitirqd_th, t); | 552 | flush_pending(klmirqd_th, t); |
553 | #endif | 553 | #endif |
554 | if(reg->max_prio_owner == t) { | 554 | if(reg->max_prio_owner == t) { |
555 | reg->max_prio_owner = find_hp_owner(reg, t); | 555 | reg->max_prio_owner = find_hp_owner(reg, t); |
@@ -559,7 +559,7 @@ static int __clear_reg_nv_device(int de_reg_device_id, struct task_struct *t) | |||
559 | } | 559 | } |
560 | 560 | ||
561 | #ifdef CONFIG_LITMUS_SOFTIRQD | 561 | #ifdef CONFIG_LITMUS_SOFTIRQD |
562 | up_and_set_stat(t, NOT_HELD, &tsk_rt(t)->klitirqd_sem); | 562 | up_and_set_stat(t, NOT_HELD, &tsk_rt(t)->klmirqd_sem); |
563 | #endif | 563 | #endif |
564 | 564 | ||
565 | reg->owners[i] = NULL; | 565 | reg->owners[i] = NULL; |