xen: events: refactor GSI pirq bindings functions
authorIan Campbell <ian.campbell@citrix.com>
Thu, 10 Mar 2011 16:08:07 +0000 (16:08 +0000)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Thu, 10 Mar 2011 19:48:37 +0000 (14:48 -0500)
commitf4d0635bf8894b7ba43d7a54733f3e26fe6ced2e
tree5f55817bb87ef63694e6ee7cc967ad4dfba3324c
parent0a85226ff291a59b2d6596b28bbc4fe368ee5266
xen: events: refactor GSI pirq bindings functions

Following the example set by xen_allocate_pirq_msi and
xen_bind_pirq_msi_to_irq:

xen_allocate_pirq becomes xen_allocate_pirq_gsi and now only allocates
a pirq number and does not bind it.

xen_map_pirq_gsi becomes xen_bind_pirq_gsi_to_irq and binds an
existing pirq.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/pci/xen.c
drivers/xen/events.c
include/xen/events.h