* [patch 6/6] ACPI EC: remove potential deadlock from EC
@ 2007-08-10 20:45 akpm
2007-08-12 2:27 ` Len Brown
0 siblings, 1 reply; 2+ messages in thread
From: akpm @ 2007-08-10 20:45 UTC (permalink / raw)
To: lenb; +Cc: linux-acpi, akpm, astarikivskiy, astarikovskiy
From: Alexey Starikovskiy <astarikivskiy@suse.de>
Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
drivers/acpi/ec.c | 2 --
1 files changed, 2 deletions(-)
diff -puN drivers/acpi/ec.c~acpi-ec-remove-potential-deadlock-from-ec drivers/acpi/ec.c
--- a/drivers/acpi/ec.c~acpi-ec-remove-potential-deadlock-from-ec
+++ a/drivers/acpi/ec.c
@@ -710,9 +710,7 @@ static int acpi_ec_add(struct acpi_devic
/* Check if we found the boot EC */
if (boot_ec) {
if (boot_ec->gpe == ec->gpe) {
- mutex_lock(&boot_ec->lock);
ec_remove_handlers(boot_ec);
- mutex_unlock(&boot_ec->lock);
mutex_destroy(&boot_ec->lock);
kfree(boot_ec);
first_ec = boot_ec = NULL;
_
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [patch 6/6] ACPI EC: remove potential deadlock from EC
2007-08-10 20:45 [patch 6/6] ACPI EC: remove potential deadlock from EC akpm
@ 2007-08-12 2:27 ` Len Brown
0 siblings, 0 replies; 2+ messages in thread
From: Len Brown @ 2007-08-12 2:27 UTC (permalink / raw)
To: akpm; +Cc: linux-acpi, astarikovskiy
Applied
(with From: e-mail address typo fixed)
thanks,
-Len
On Friday 10 August 2007 16:45, akpm@linux-foundation.org wrote:
> From: Alexey Starikovskiy <astarikivskiy@suse.de>
>
> Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
> ---
>
> drivers/acpi/ec.c | 2 --
> 1 files changed, 2 deletions(-)
>
> diff -puN drivers/acpi/ec.c~acpi-ec-remove-potential-deadlock-from-ec drivers/acpi/ec.c
> --- a/drivers/acpi/ec.c~acpi-ec-remove-potential-deadlock-from-ec
> +++ a/drivers/acpi/ec.c
> @@ -710,9 +710,7 @@ static int acpi_ec_add(struct acpi_devic
> /* Check if we found the boot EC */
> if (boot_ec) {
> if (boot_ec->gpe == ec->gpe) {
> - mutex_lock(&boot_ec->lock);
> ec_remove_handlers(boot_ec);
> - mutex_unlock(&boot_ec->lock);
> mutex_destroy(&boot_ec->lock);
> kfree(boot_ec);
> first_ec = boot_ec = NULL;
> _
> -
> To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-08-12 2:27 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-10 20:45 [patch 6/6] ACPI EC: remove potential deadlock from EC akpm
2007-08-12 2:27 ` Len Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).