aboutsummaryrefslogtreecommitdiffstats
path: root/xen/include/asm-x86/msi.h
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2011-09-18 00:24:37 +0100
committerJan Beulich <jbeulich@suse.com>2011-09-18 00:24:37 +0100
commita71eeb324fcc21bb2789917601326a2dfc220704 (patch)
tree5a7a8dd18c9663490af6c74b53705fc378fba6d7 /xen/include/asm-x86/msi.h
parent6ac9f9c55cce7e94445120ee8751a165dfe2d9d3 (diff)
downloadxen-a71eeb324fcc21bb2789917601326a2dfc220704.tar.gz
xen-a71eeb324fcc21bb2789917601326a2dfc220704.tar.bz2
xen-a71eeb324fcc21bb2789917601326a2dfc220704.zip
pass struct irq_desc * to set_affinity() IRQ accessors
This is because the descriptor is generally more useful (with the IRQ number being accessible in it if necessary) and going forward will hopefully allow to remove all direct accesses to the IRQ descriptor array, in turn making it possible to make this some other, more efficient data structure. Signed-off-by: Jan Beulich <jbeulich@suse.com>
Diffstat (limited to 'xen/include/asm-x86/msi.h')
-rw-r--r--xen/include/asm-x86/msi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/include/asm-x86/msi.h b/xen/include/asm-x86/msi.h
index 0fb24fec53..ab797c7468 100644
--- a/xen/include/asm-x86/msi.h
+++ b/xen/include/asm-x86/msi.h
@@ -78,7 +78,7 @@ struct msi_desc;
/* Helper functions */
extern void mask_msi_irq(unsigned int irq);
extern void unmask_msi_irq(unsigned int irq);
-extern void set_msi_affinity(unsigned int vector, const cpumask_t *);
+extern void set_msi_affinity(struct irq_desc *, const cpumask_t *);
extern int pci_enable_msi(struct msi_info *msi, struct msi_desc **desc);
extern void pci_disable_msi(struct msi_desc *desc);
extern void pci_cleanup_msi(struct pci_dev *pdev);