aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/irq.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2011-09-18 00:12:19 +0100
committerJan Beulich <jbeulich@suse.com>2011-09-18 00:12:19 +0100
commit7620c0cf9a4df9cff19be020bf84f8a71cc31d8d (patch)
tree4e0695f43d0d1ad85c0fcaf1a4d59fb5b7859740 /xen/arch/x86/irq.c
parent21844b0e32e77c9e1a600b9279a859a7ffe01844 (diff)
downloadxen-7620c0cf9a4df9cff19be020bf84f8a71cc31d8d.tar.gz
xen-7620c0cf9a4df9cff19be020bf84f8a71cc31d8d.tar.bz2
xen-7620c0cf9a4df9cff19be020bf84f8a71cc31d8d.zip
PCI multi-seg: add new physdevop-s
The new PHYSDEVOP_pci_device_add is intended to be extensible, with a first extension (to pass the proximity domain of a device) added right away. A couple of directly related functions at once get adjusted to account for the segment number. Should we deprecate the PHYSDEVOP_manage_pci_* sub-hypercalls? Signed-off-by: Jan Beulich <jbeulich@suse.com>
Diffstat (limited to 'xen/arch/x86/irq.c')
-rw-r--r--xen/arch/x86/irq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/irq.c b/xen/arch/x86/irq.c
index 228b112084..b9490403bd 100644
--- a/xen/arch/x86/irq.c
+++ b/xen/arch/x86/irq.c
@@ -1716,7 +1716,7 @@ int map_domain_pirq(
if ( !cpu_has_apic )
goto done;
- pdev = pci_get_pdev(msi->bus, msi->devfn);
+ pdev = pci_get_pdev(msi->seg, msi->bus, msi->devfn);
ret = pci_enable_msi(msi, &msi_desc);
if ( ret )
goto done;