aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/dmar.h
diff options
context:
space:
mode:
authorJoerg Roedel <joerg.roedel@amd.com>2012-03-30 14:47:04 -0400
committerJoerg Roedel <joerg.roedel@amd.com>2012-05-07 08:34:59 -0400
commit9d619f65722236e0e0c35467d1528caed206e439 (patch)
tree6d0a77b7835fc056810a05be5a217e96d9153ff7 /include/linux/dmar.h
parent4c1bad6a0af1e297c8d05365e65af89d8c7bf9d1 (diff)
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 'include/linux/dmar.h')
-rw-r--r--include/linux/dmar.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/dmar.h b/include/linux/dmar.h
index f2bd87f52a8d..7a207a39f879 100644
--- a/include/linux/dmar.h
+++ b/include/linux/dmar.h
@@ -121,7 +121,6 @@ extern int alloc_irte(struct intel_iommu *iommu, int irq, u16 count);
121extern int set_irte_irq(int irq, struct intel_iommu *iommu, u16 index, 121extern int set_irte_irq(int irq, struct intel_iommu *iommu, u16 index,
122 u16 sub_handle); 122 u16 sub_handle);
123extern int map_irq_to_irte_handle(int irq, u16 *sub_handle); 123extern int map_irq_to_irte_handle(int irq, u16 *sub_handle);
124extern int free_irte(int irq);
125 124
126extern struct intel_iommu *map_dev_to_ir(struct pci_dev *dev); 125extern struct intel_iommu *map_dev_to_ir(struct pci_dev *dev);
127extern struct intel_iommu *map_ioapic_to_ir(int apic); 126extern struct intel_iommu *map_ioapic_to_ir(int apic);
@@ -138,10 +137,6 @@ static inline int modify_irte(int irq, struct irte *irte_modified)
138{ 137{
139 return -1; 138 return -1;
140} 139}
141static inline int free_irte(int irq)
142{
143 return -1;
144}
145static inline int map_irq_to_irte_handle(int irq, u16 *sub_handle) 140static inline int map_irq_to_irte_handle(int irq, u16 *sub_handle)
146{ 141{
147 return -1; 142 return -1;