diff options
author | Jan Beulich <jbeulich@suse.com> | 2012-01-09 15:59:59 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2012-01-09 15:59:59 +0100 |
commit | db62a1c49262ef14ce5d039345666aea6139c430 (patch) | |
tree | 272f4d540e9e4010c1bb292433b6c3a04e9b1186 /xen/arch/x86/irq.c | |
parent | 51bfd20efaf85ec408998ba06b17d5e73d12537e (diff) | |
download | xen-db62a1c49262ef14ce5d039345666aea6139c430.tar.gz xen-db62a1c49262ef14ce5d039345666aea6139c430.tar.bz2 xen-db62a1c49262ef14ce5d039345666aea6139c430.zip |
PCI: properly abstract out per-architecture extensions to struct pci_dev
x86's used_vectors member was both misplaced (in struct pci_dev_info,
which acts as a hypercall input data passing container only) and
improperly abstracted (requiring a CONFIG_X86 conditional in a generic
header).
The adjustment requires hiding several more lines in IA64's pci.h, but
as a benefit this allows removing one of the "null" headers.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/arch/x86/irq.c')
-rw-r--r-- | xen/arch/x86/irq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/arch/x86/irq.c b/xen/arch/x86/irq.c index e75c06a3b6..bfdfa2638e 100644 --- a/xen/arch/x86/irq.c +++ b/xen/arch/x86/irq.c @@ -1877,7 +1877,7 @@ int map_domain_pirq( if ( opt_irq_vector_map == OPT_IRQ_VECTOR_MAP_PERDEV && !desc->arch.used_vectors ) { - desc->arch.used_vectors = &pdev->info.used_vectors; + desc->arch.used_vectors = &pdev->arch.used_vectors; if ( desc->arch.vector != IRQ_VECTOR_UNASSIGNED ) { int vector = desc->arch.vector; |