aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2011-01-11 17:20:15 +0000
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-03-03 11:56:59 -0500
commitc9df1ce585e3bb5a2f101c1d87381b285a9f962f (patch)
tree33a0cad7b28df7fe8eab3410b195a29273eb2c68 /drivers/i2c
parentxen:events: move find_unbound_irq inside CONFIG_PCI_MSI (diff)
downloadlinux-dev-c9df1ce585e3bb5a2f101c1d87381b285a9f962f.tar.xz
linux-dev-c9df1ce585e3bb5a2f101c1d87381b285a9f962f.zip
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 'drivers/i2c')
0 files changed, 0 insertions, 0 deletions