aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/processor_perflib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/processor_perflib.c b/drivers/acpi/processor_perflib.c
index f02c5ea9084f..41aaaba74b19 100644
--- a/drivers/acpi/processor_perflib.c
+++ b/drivers/acpi/processor_perflib.c
@@ -624,7 +624,7 @@ int acpi_processor_preregister_performance(
624 struct acpi_processor *match_pr; 624 struct acpi_processor *match_pr;
625 struct acpi_psd_package *match_pdomain; 625 struct acpi_psd_package *match_pdomain;
626 626
627 down(&performance_sem); 627 mutex_lock(&performance_mutex);
628 628
629 retval = 0; 629 retval = 0;
630 630
@@ -772,7 +772,7 @@ err_ret:
772 pr->performance = NULL; /* Will be set for real in register */ 772 pr->performance = NULL; /* Will be set for real in register */
773 } 773 }
774 774
775 up(&performance_sem); 775 mutex_unlock(&performance_mutex);
776 return retval; 776 return retval;
777} 777}
778EXPORT_SYMBOL(acpi_processor_preregister_performance); 778EXPORT_SYMBOL(acpi_processor_preregister_performance);