applied for 2.6.28 thanks, -len On Thu, 13 Nov 2008, Alexey Starikovskiy wrote: > Signed-off-by: Alexey Starikovskiy <astarikovskiy@xxxxxxx> > --- > > drivers/acpi/ec.c | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > > > 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); > } > -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html