locking, x86, iommu: Annotate iommu->register_lock as raw
authorThomas Gleixner <tglx@linutronix.de>
Tue, 19 Jul 2011 14:19:51 +0000 (16:19 +0200)
committerHiroshi DOYU <hdoyu@nvidia.com>
Mon, 23 Jan 2012 09:11:32 +0000 (11:11 +0200)
commita20bcb261d9a4decd735665551bfe63b4b9f63a2
tree53f1a88b4bd19cd0d41b36de57b81f348ea5f64a
parent89f0314d29fa179f4bbaa2c7404cebb99646198e
locking, x86, iommu: Annotate iommu->register_lock as raw

The iommu->register_lock can be taken in atomic context and therefore
must not be preempted on -rt - annotate it.

In mainline this change documents the low level nature of
the lock - otherwise there's no functional difference. Lockdep
and Sparse checking will work as usual.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
drivers/iommu/dmar.c
drivers/iommu/intel-iommu.c
drivers/iommu/intr_remapping.c
include/linux/intel-iommu.h