Skip to content

Commit

Permalink
ACPI: resolve merge conflict between sem2mutex and processor_perflib.c
Browse files Browse the repository at this point in the history
Signed-off-by: Len Brown <len.brown@intel.com>
  • Loading branch information
Len Brown committed Jun 16, 2006
1 parent d42510a commit 785fccc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/acpi/processor_perflib.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -772,7 +772,7 @@ int acpi_processor_preregister_performance(
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);
Expand Down

0 comments on commit 785fccc

Please sign in to comment.