locking, x86, iommu: Annotate iommu->register_lock as raw
[firefly-linux-kernel-4.4.55.git] / include / linux / intel-iommu.h
index 9310c699a37d451d2f2a24e961b7fab5545753ac..19728c462399040da731a3d79c0990244a513f3e 100644 (file)
@@ -311,7 +311,7 @@ struct intel_iommu {
        u64             cap;
        u64             ecap;
        u32             gcmd; /* Holds TE, EAFL. Don't need SRTP, SFL, WBF */
-       spinlock_t      register_lock; /* protect register handling */
+       raw_spinlock_t  register_lock; /* protect register handling */
        int             seq_id; /* sequence id of the iommu */
        int             agaw; /* agaw of this iommu */
        int             msagaw; /* max sagaw of this iommu */