Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 174161 Details for
Bug 248452
[2.6.27.5 regression] ACPI battery power management broken
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
possible
acpi.patch (text/plain), 947 bytes, created by
Daniel Drake (RETIRED)
on 2008-12-03 13:24:54 UTC
(
hide
)
Description:
possible
Filename:
MIME Type:
Creator:
Daniel Drake (RETIRED)
Created:
2008-12-03 13:24:54 UTC
Size:
947 bytes
patch
obsolete
>From: Alexey Starikovskiy <astarikovskiy@suse.de> >Date: Thu, 13 Nov 2008 09:00:03 +0000 (+0300) >Subject: ACPI: EC: count interrupts only if called from interrupt handler. >X-Git-Url: http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Flenb%2Flinux-acpi-2.6.git;a=commitdiff_plain;h=7b4d469228a92a00e412675817cedd60133de38a > >ACPI: EC: count interrupts only if called from interrupt handler. > >fix 2.6.28 EC interrupt storm regression > >Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de> >Signed-off-by: Len Brown <len.brown@intel.com> >--- > >diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c >index cf41f9f..30f3ef2 100644 >--- a/drivers/acpi/ec.c >+++ b/drivers/acpi/ec.c >@@ -219,7 +219,8 @@ static void gpe_transaction(struct acpi_ec *ec, u8 status) > goto unlock; > err: > /* false interrupt, state didn't change */ >- ++ec->curr->irq_count; >+ if (in_interrupt()) >+ ++ec->curr->irq_count; > unlock: > spin_unlock_irqrestore(&ec->curr_lock, flags); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 248452
:
173056
|
173057
|
173675
|
173676
|
173702
| 174161