ia64/xen-unstable
changeset 19174:a2a755b7927e
x86: Use per-domain irq-to-vector array when mapping GSIs
Using the per-domain array enables single MSI vectors to be mapped.
Signed-off-by: Espen Skoglund <espen.skoglund@netronome.com>
Using the per-domain array enables single MSI vectors to be mapped.
Signed-off-by: Espen Skoglund <espen.skoglund@netronome.com>
author | Keir Fraser <keir.fraser@citrix.com> |
---|---|
date | Thu Feb 05 12:20:18 2009 +0000 (2009-02-05) |
parents | 5c1308e2ece3 |
children | 92557a0b021f |
files | xen/arch/x86/physdev.c |
line diff
1.1 --- a/xen/arch/x86/physdev.c Thu Feb 05 12:17:24 2009 +0000 1.2 +++ b/xen/arch/x86/physdev.c Thu Feb 05 12:20:18 2009 +0000 1.3 @@ -62,7 +62,7 @@ static int physdev_map_pirq(struct physd 1.4 ret = -EINVAL; 1.5 goto free_domain; 1.6 } 1.7 - vector = IO_APIC_VECTOR(map->index); 1.8 + vector = domain_irq_to_vector(current->domain, map->index); 1.9 if ( !vector ) 1.10 { 1.11 dprintk(XENLOG_G_ERR, "dom%d: map irq with no vector %d\n",