aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iommu/intr_remapping.h
diff options
context:
space:
mode:
authorSuresh Siddha <suresh.b.siddha@intel.com>2012-03-30 14:47:07 -0400
committerJoerg Roedel <joerg.roedel@amd.com>2012-05-07 08:35:00 -0400
commit95a02e976c39d63716b8c7c226bc530a2041536f (patch)
tree8c8992e117ad625491f3233f71674e40825474da /drivers/iommu/intr_remapping.h
parent263b5e8629c9ce21c9cd4c0e29c097afb1c10ef3 (diff)
iommu: rename intr_remapping references to irq_remapping
Make the code consistent with the naming conventions of irq subsystem. Signed-off-by: Suresh Siddha <suresh.b.siddha@intel.com> Cc: Joerg Roedel <joerg.roedel@amd.com> Cc: Yinghai Lu <yinghai@kernel.org> Cc: David Woodhouse <dwmw2@infradead.org> Cc: Alex Williamson <alex.williamson@redhat.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.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/iommu/intr_remapping.h b/drivers/iommu/intr_remapping.h
index 6f4ea0a387b1..bd5d98fec148 100644
--- a/drivers/iommu/intr_remapping.h
+++ b/drivers/iommu/intr_remapping.h
@@ -31,7 +31,7 @@ struct cpumask;
31struct pci_dev; 31struct pci_dev;
32struct msi_msg; 32struct msi_msg;
33 33
34extern int disable_intremap; 34extern int disable_irq_remap;
35extern int disable_sourceid_checking; 35extern int disable_sourceid_checking;
36extern int no_x2apic_optout; 36extern int no_x2apic_optout;
37 37
@@ -40,16 +40,16 @@ struct irq_remap_ops {
40 int (*supported)(void); 40 int (*supported)(void);
41 41
42 /* Initializes hardware and makes it ready for remapping interrupts */ 42 /* Initializes hardware and makes it ready for remapping interrupts */
43 int (*hardware_init)(void); 43 int (*prepare)(void);
44 44
45 /* Enables the remapping hardware */ 45 /* Enables the remapping hardware */
46 int (*hardware_enable)(void); 46 int (*enable)(void);
47 47
48 /* Disables the remapping hardware */ 48 /* Disables the remapping hardware */
49 void (*hardware_disable)(void); 49 void (*disable)(void);
50 50
51 /* Reenables the remapping hardware */ 51 /* Reenables the remapping hardware */
52 int (*hardware_reenable)(int); 52 int (*reenable)(int);
53 53
54 /* Enable fault handling */ 54 /* Enable fault handling */
55 int (*enable_faulting)(void); 55 int (*enable_faulting)(void);