mm, mmu_notifier: annotate mmu notifiers with blockable invalidate callbacks
[linux-2.6-block.git] / drivers / iommu / intel-svm.c
index ed1cf7c5a43ba33cc04ff32d1c88efcbb49bdbde..0a826eb7fe48659a84f01c4ff2d1b318006c6441 100644 (file)
@@ -276,6 +276,7 @@ static void intel_mm_release(struct mmu_notifier *mn, struct mm_struct *mm)
 }
 
 static const struct mmu_notifier_ops intel_mmuops = {
+       .flags = MMU_INVALIDATE_DOES_NOT_BLOCK,
        .release = intel_mm_release,
        .change_pte = intel_change_pte,
        .invalidate_range = intel_invalidate_range,