diff options
author | Andi Kleen <andi@firstfloor.org> | 2012-02-06 08:17:09 -0800 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2012-03-30 01:41:45 -0400 |
commit | 6fe0d0628245fdcd6fad8b837c81e8f7ebc3364d (patch) | |
tree | 378308ac35b1bd5522cc75cb0b539f94d3383451 /drivers | |
parent | d6795fe32da13bde39ea483e42799a22daa730b5 (diff) | |
download | op-kernel-dev-6fe0d0628245fdcd6fad8b837c81e8f7ebc3364d.zip op-kernel-dev-6fe0d0628245fdcd6fad8b837c81e8f7ebc3364d.tar.gz |
ACPI: Make ACPI interrupt threaded
Some ACPI interrupt actions may need to wait, and it's easiest to
have a thread context for this. So turn the ACPI interrupt
into a threaded interrupt.
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/acpi/osl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index 412a1e0..02367a8 100644 --- a/drivers/acpi/osl.c +++ b/drivers/acpi/osl.c @@ -595,7 +595,8 @@ acpi_os_install_interrupt_handler(u32 gsi, acpi_osd_handler handler, acpi_irq_handler = handler; acpi_irq_context = context; - if (request_irq(irq, acpi_irq, IRQF_SHARED, "acpi", acpi_irq)) { + if (request_threaded_irq(irq, NULL, acpi_irq, IRQF_SHARED, "acpi", + acpi_irq)) { printk(KERN_ERR PREFIX "SCI (IRQ%d) allocation failed\n", irq); acpi_irq_handler = NULL; return AE_NOT_ACQUIRED; |