projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d42510a
)
ACPI: resolve merge conflict between sem2mutex and processor_perflib.c
author
Len Brown
<len.brown@intel.com>
Fri, 16 Jun 2006 02:19:31 +0000
(22:19 -0400)
committer
Len Brown
<len.brown@intel.com>
Fri, 16 Jun 2006 02:19:31 +0000
(22:19 -0400)
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/processor_perflib.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/acpi/processor_perflib.c
b/drivers/acpi/processor_perflib.c
index f02c5ea9084f7b82475c86bcb7cb685835e576b1..41aaaba74b194e1169748afa5d18fd10060dce3a 100644
(file)
--- 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);