diff options
author | Suresh Siddha <suresh.b.siddha@intel.com> | 2012-03-30 14:47:07 -0400 |
---|---|---|
committer | Joerg Roedel <joerg.roedel@amd.com> | 2012-05-07 08:35:00 -0400 |
commit | 95a02e976c39d63716b8c7c226bc530a2041536f (patch) | |
tree | 8c8992e117ad625491f3233f71674e40825474da /drivers/iommu/intr_remapping.h | |
parent | 263b5e8629c9ce21c9cd4c0e29c097afb1c10ef3 (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.h | 10 |
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; | |||
31 | struct pci_dev; | 31 | struct pci_dev; |
32 | struct msi_msg; | 32 | struct msi_msg; |
33 | 33 | ||
34 | extern int disable_intremap; | 34 | extern int disable_irq_remap; |
35 | extern int disable_sourceid_checking; | 35 | extern int disable_sourceid_checking; |
36 | extern int no_x2apic_optout; | 36 | extern 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); |