summaryrefslogtreecommitdiff
path: root/drivers/acpi/osl.c
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2009-04-21 00:35:47 -0400
committerLen Brown <len.brown@intel.com>2009-04-21 00:35:47 -0400
commit88bea188b85f9cefefbbd56b8a48d0f798409177 (patch)
tree8170590416c90c4bec1c00c6e3d472cab3b84e6f /drivers/acpi/osl.c
parenta939b96cccdb65df80a52447ec8e4a6d79c56dbb (diff)
ACPI: add /sys/firmware/acpi/interrupts/sci_not counter
This counter may prove useful in debugging some spurious interrupt issues seen in the field. Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/osl.c')
-rw-r--r--drivers/acpi/osl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c
index d59f08ecaf16..d916bea729f1 100644
--- a/drivers/acpi/osl.c
+++ b/drivers/acpi/osl.c
@@ -353,8 +353,10 @@ static irqreturn_t acpi_irq(int irq, void *dev_id)
if (handled) {
acpi_irq_handled++;
return IRQ_HANDLED;
- } else
+ } else {
+ acpi_irq_not_handled++;
return IRQ_NONE;
+ }
}
acpi_status