xen/pci: move x86 specific code to x86 directory
authorRahul Singh <rahul.singh@arm.com>
Fri, 27 Nov 2020 17:06:04 +0000 (18:06 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 27 Nov 2020 17:06:04 +0000 (18:06 +0100)
commitf7e77e55d33b7e52477d65f4c5e67281384b650f
tree2bcf8ea04a0367436234ef1a7890d48374939796
parentfcdb988ef1934fe29fa7807dbbc155eb61e428a1
xen/pci: move x86 specific code to x86 directory

passthrough/pci.c file is common for all architecture, but there is x86
specific code in this file.

Move x86 specific code to the drivers/passthrough/io.c file to avoid
compilation error for other architecture.

As drivers/passthrough/io.c is compiled only for x86 move it to
x86 directory and rename it to hvm.c.

No functional change intended.

Signed-off-by: Rahul Singh <rahul.singh@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/drivers/passthrough/Makefile
xen/drivers/passthrough/io.c [deleted file]
xen/drivers/passthrough/pci.c
xen/drivers/passthrough/x86/Makefile
xen/drivers/passthrough/x86/hvm.c [new file with mode: 0644]
xen/include/xen/pci.h