diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2011-09-19 17:23:41 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-09-19 17:23:41 -0700 |
commit | 9d037a777695993ec7437e5f451647dea7919d4c (patch) | |
tree | 05f047598aeff2e48653bb6b3dfa3a63b2068e12 | |
parent | 50f2d407c09be74c77cf9d502d087398a5ba6055 (diff) | |
parent | 477694e71113fd0694b6bb0bcc2d006b8ac62691 (diff) | |
download | op-kernel-dev-9d037a777695993ec7437e5f451647dea7919d4c.zip op-kernel-dev-9d037a777695993ec7437e5f451647dea7919d4c.tar.gz |
Merge branch 'irq-fixes-for-linus' of git://tesla.tglx.de/git/linux-2.6-tip
* 'irq-fixes-for-linus' of git://tesla.tglx.de/git/linux-2.6-tip:
x86, iommu: Mark DMAR IRQ as non-threaded
genirq: Make irq_shutdown() symmetric vs. irq_startup again
-rw-r--r-- | drivers/iommu/dmar.c | 2 | ||||
-rw-r--r-- | kernel/irq/chip.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/iommu/dmar.c b/drivers/iommu/dmar.c index 3dc9bef..6dcc7e2 100644 --- a/drivers/iommu/dmar.c +++ b/drivers/iommu/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; diff --git a/kernel/irq/chip.c b/kernel/irq/chip.c index d5a3009..dc5114b 100644 --- a/kernel/irq/chip.c +++ b/kernel/irq/chip.c @@ -178,7 +178,7 @@ void irq_shutdown(struct irq_desc *desc) desc->depth = 1; if (desc->irq_data.chip->irq_shutdown) desc->irq_data.chip->irq_shutdown(&desc->irq_data); - if (desc->irq_data.chip->irq_disable) + else if (desc->irq_data.chip->irq_disable) desc->irq_data.chip->irq_disable(&desc->irq_data); else desc->irq_data.chip->irq_mask(&desc->irq_data); |