aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/msi.h
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-11-20 14:22:54 +0000
committerKeir Fraser <keir.fraser@citrix.com>2008-11-20 14:22:54 +0000
commitc193d476f02705413f2cbb5510371cf8dc47dcb2 (patch)
treeb6da1cd3f81d6c49cf7f262c4d0773f898e0b256 /xen/include/asm-x86/msi.h
parenta5b98f7f3493f139163d906accb673d20e6cdff8 (diff)
downloadxen-c193d476f02705413f2cbb5510371cf8dc47dcb2.tar.gz
xen-c193d476f02705413f2cbb5510371cf8dc47dcb2.tar.bz2
xen-c193d476f02705413f2cbb5510371cf8dc47dcb2.zip
Properly distinguish irq and vector spaces
This makes sure that there are no assumptions about NR_IRQS==NR_VECTORS anymore, and it also renames various variables to properly reflect what they represent. While coded correctly, I wonder whether dump_irqs() shouldn't iterate over the vector space rather than the irq space, so that MSI entries are also processed. Signed-off-by: Jan Beulich <jbeulich@novell.com>
Diffstat (limited to 'xen/include/asm-x86/msi.h')
-rw-r--r--xen/include/asm-x86/msi.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/xen/include/asm-x86/msi.h b/xen/include/asm-x86/msi.h
index f1462d2dc8..6ca1a76898 100644
--- a/xen/include/asm-x86/msi.h
+++ b/xen/include/asm-x86/msi.h
@@ -69,9 +69,9 @@ struct msi_msg {
};
/* Helper functions */
-extern void mask_msi_irq(unsigned int irq);
-extern void unmask_msi_irq(unsigned int irq);
-extern void set_msi_irq_affinity(unsigned int irq, cpumask_t mask);
+extern void mask_msi_vector(unsigned int vector);
+extern void unmask_msi_vector(unsigned int vector);
+extern void set_msi_affinity(unsigned int vector, cpumask_t mask);
extern int pci_enable_msi(struct msi_info *msi);
extern void pci_disable_msi(int vector);
extern void pci_cleanup_msi(struct pci_dev *pdev);