dmar: use spin_lock_irqsave() in qi_submit_sync()
authorSuresh Siddha <suresh.b.siddha@intel.com>
Thu, 16 Oct 2008 23:31:54 +0000 (16:31 -0700)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Fri, 17 Oct 2008 07:03:05 +0000 (08:03 +0100)
commitf05810c9962bba3e809f07619bda1bfdebbfbfb9
treed226f13a0d93cda208f9aea85d2a9ac29086f3e1
parent2e532d68a2b3e2aa6b19731501222069735c741c
dmar: use spin_lock_irqsave() in qi_submit_sync()

Next patch in the series will use queued invalidation interface
qi_submit_sync() for DMA-remapping aswell, which can be called from interrupt
context.

So use spin_lock_irqsave() instead of spin_lock() in qi_submit_sync().

Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: Youquan Song <youquan.song@intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/pci/dmar.c