summaryrefslogtreecommitdiff
path: root/drivers/pci
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2011-07-19 16:25:42 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2011-10-03 11:40:29 -0700
commit56794483bcbf98296dffd8d8923402791b305be2 (patch)
treef2b5e2c0f0181fe065d4940059fdbae17a51255f /drivers/pci
parente74aa3593a0026ea78b3997c3b7748f536e17f66 (diff)
x86, iommu: Mark DMAR IRQ as non-threaded
commit 477694e71113fd0694b6bb0bcc2d006b8ac62691 upstream. Mark this lowlevel IRQ handler as non-threaded. This prevents a boot crash when "threadirqs" is on the kernel commandline. Also the interrupt handler is handling hardware critical events which should not be delayed into a thread. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Ingo Molnar <mingo@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci')
-rw-r--r--drivers/pci/dmar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/dmar.c b/drivers/pci/dmar.c
index 3dc9befa5aec..6dcc7e2d54de 100644
--- a/drivers/pci/dmar.c
+++ b/drivers/pci/dmar.c
@@ -1388,7 +1388,7 @@ int dmar_set_interrupt(struct intel_iommu *iommu)
return ret;
}
- ret = request_irq(irq, dmar_fault, 0, iommu->name, iommu);
+ ret = request_irq(irq, dmar_fault, IRQF_NO_THREAD, iommu->name, iommu);
if (ret)
printk(KERN_ERR "IOMMU: can't request irq\n");
return ret;