From: Len Brown Date: Fri, 16 Jun 2006 02:19:31 +0000 (-0400) Subject: ACPI: resolve merge conflict between sem2mutex and processor_perflib.c X-Git-Tag: v2.6.18-rc1~1081^2~19^2~2 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=785fcccd68bd4dc436f75fd4cd40e8557966c86d;p=linux-2.6 ACPI: resolve merge conflict between sem2mutex and processor_perflib.c Signed-off-by: Len Brown --- diff --git a/drivers/acpi/processor_perflib.c b/drivers/acpi/processor_perflib.c index f02c5ea908..41aaaba74b 100644 --- a/drivers/acpi/processor_perflib.c +++ b/drivers/acpi/processor_perflib.c @@ -624,7 +624,7 @@ int acpi_processor_preregister_performance( struct acpi_processor *match_pr; struct acpi_psd_package *match_pdomain; - down(&performance_sem); + mutex_lock(&performance_mutex); retval = 0; @@ -772,7 +772,7 @@ err_ret: pr->performance = NULL; /* Will be set for real in register */ } - up(&performance_sem); + mutex_unlock(&performance_mutex); return retval; } EXPORT_SYMBOL(acpi_processor_preregister_performance);