]> xenbits.xensource.com Git - xen.git/commit
x86/physdev: factor out the code to allocate and map a pirq
authorRoger Pau Monné <roger.pau@citrix.com>
Tue, 6 Jun 2017 12:35:54 +0000 (14:35 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 6 Jun 2017 12:35:54 +0000 (14:35 +0200)
commit0762e2502f1fa955176c3f17c0cfb3916498428f
tree7c88b6595e542c403248cc35a26f88653966f40a
parent8fd8951eabc6648fc302585187d02d49157ff907
x86/physdev: factor out the code to allocate and map a pirq

Move the code to allocate and map a domain pirq (either GSI or MSI)
into the x86 irq code base, so that it can be used outside of the
physdev ops.

This change shouldn't affect the functionality of the already existing
physdev ops.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/irq.c
xen/arch/x86/physdev.c
xen/include/asm-x86/irq.h