diff options
author | Ian Campbell <ian.campbell@citrix.com> | 2011-01-11 12:20:15 -0500 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2011-03-03 11:56:59 -0500 |
commit | c9df1ce585e3bb5a2f101c1d87381b285a9f962f (patch) | |
tree | 33a0cad7b28df7fe8eab3410b195a29273eb2c68 /arch/x86/pci/mmconfig_32.c | |
parent | cbf6aa89fc52c5253ee141d53eeb73147eb37ac0 (diff) |
xen: events: add xen_allocate_irq_{dynamic, gsi} and xen_free_irq
This is neater than open-coded calls to irq_alloc_desc_at and
irq_free_desc.
No intended behavioural change.
Note that we previously were not checking the return value of
irq_alloc_desc_at which would be failing for GSI<NR_IRQS_LEGACY
because the core architecture code has already allocated those for
us. Hence the additional check against NR_IRQS_LEGACY in
xen_allocate_irq_gsi.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>
Diffstat (limited to 'arch/x86/pci/mmconfig_32.c')
0 files changed, 0 insertions, 0 deletions