iommu/iova: Add locking to Flush-Queues
[linux-2.6-microblaze.git] / include / linux / iova.h
index 985b800..913a690 100644 (file)
@@ -60,6 +60,7 @@ struct iova_fq_entry {
 struct iova_fq {
        struct iova_fq_entry entries[IOVA_FQ_SIZE];
        unsigned head, tail;
+       spinlock_t lock;
 };
 
 /* holds all the iova translations for a domain */