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)
committerIngo Molnar <mingo@elte.hu>
Tue, 13 Sep 2011 09:12:17 +0000 (11:12 +0200)
commit1f5b3c3fd2d73d6b30e9ef6dcbf131a791d5cbbd
tree1d24f2510bd8c57f5e026bf9a7ff93999ed39577
parent289b4e7a48d91fbef7af819020d826ad9f49f568
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