diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2012-03-30 11:47:04 -0700 |
---|---|---|
committer | Joerg Roedel <joerg.roedel@amd.com> | 2012-05-07 14:34:59 +0200 |
commit | 9d619f65722236e0e0c35467d1528caed206e439 (patch) | |
tree | 6d0a77b7835fc056810a05be5a217e96d9153ff7 /drivers/iommu/intr_remapping.h | |
parent | 4c1bad6a0af1e297c8d05365e65af89d8c7bf9d1 (diff) | |
download | linux-9d619f65722236e0e0c35467d1528caed206e439.tar.gz linux-9d619f65722236e0e0c35467d1528caed206e439.tar.bz2 linux-9d619f65722236e0e0c35467d1528caed206e439.zip |
iommu/vt-d: Convert free_irte into a remap_ops callback
The operation for releasing a remapping entry is iommu
specific too.
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Acked-by: Yinghai Lu <yinghai@kernel.org>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'drivers/iommu/intr_remapping.h')
-rw-r--r-- | drivers/iommu/intr_remapping.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/iommu/intr_remapping.h b/drivers/iommu/intr_remapping.h index e0bc6e0ba1fb..57485539383d 100644 --- a/drivers/iommu/intr_remapping.h +++ b/drivers/iommu/intr_remapping.h @@ -60,6 +60,9 @@ struct irq_remap_ops { /* Set the CPU affinity of a remapped interrupt */ int (*set_affinity)(struct irq_data *data, const struct cpumask *mask, bool force); + + /* Free an IRQ */ + int (*free_irq)(int); }; extern struct irq_remap_ops intel_irq_remap_ops; |