locking, x86, iommu: Annotate qi->q_lock as raw
authorThomas Gleixner <tglx@linutronix.de>
Tue, 19 Jul 2011 15:02:07 +0000 (17:02 +0200)
committerHiroshi DOYU <hdoyu@nvidia.com>
Mon, 23 Jan 2012 09:11:33 +0000 (11:11 +0200)
commit2a20126b1754c2d4d3cd30af71b8e80280fdedea
tree8295b74c6a8eb1ec60f91e5b2a9af501db9606f8
parent86b4d1e534467f8697ac0e1627f1e37bde5bbaf6
locking, x86, iommu: Annotate qi->q_lock as raw

The qi->q_lock lock can be taken in atomic context and therefore
cannot 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
include/linux/intel-iommu.h