From: Andi Kleen Date: Mon, 6 Feb 2012 16:17:09 +0000 (-0800) Subject: ACPI: Make ACPI interrupt threaded X-Git-Tag: v3.4-rc6~7^2~3^5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6fe0d0628245fdcd6fad8b837c81e8f7ebc3364d;p=profile%2Fivi%2Fkernel-x86-ivi.git 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 Signed-off-by: Len Brown --- 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;