1
0
Fork 0
alistair23-linux/drivers/vfio
Arnd Bergmann 45e8697144 vfio-pci: use 32-bit comparisons for register address for gcc-4.5
Using ancient compilers (gcc-4.5 or older) on ARM, we get a link
failure with the vfio-pci driver:

ERROR: "__aeabi_lcmp" [drivers/vfio/pci/vfio-pci.ko] undefined!

The reason is that the compiler tries to do a comparison of
a 64-bit range. This changes it to convert to a 32-bit number
explicitly first, as newer compilers do for themselves.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2016-12-30 08:13:47 -07:00
..
mdev vfio-mdev: Make mdev_device private and abstract interfaces 2016-12-30 08:13:44 -07:00
pci vfio-pci: use 32-bit comparisons for register address for gcc-4.5 2016-12-30 08:13:47 -07:00
platform vfio_platform: Updated to use vfio_set_irqs_validate_and_prepare() 2016-11-17 08:33:20 -07:00
Kconfig vfio: Mediated device Core driver 2016-11-17 08:24:48 -07:00
Makefile vfio: Mediated device Core driver 2016-11-17 08:24:48 -07:00
vfio.c vfio: support notifier chain in vfio_group 2016-12-01 10:40:05 -07:00
vfio_iommu_spapr_tce.c powerpc/mm/iommu, vfio/spapr: Put pages on VFIO container shutdown 2016-12-02 14:38:34 +11:00
vfio_iommu_type1.c vfio/type1: Restore mapping performance with mdev support 2016-12-30 08:13:31 -07:00
vfio_spapr_eeh.c drivers/vfio: Support EEH error injection 2015-05-12 20:33:35 +10:00
virqfd.c vfio: Split virqfd into a separate module for vfio bus drivers 2015-03-17 08:33:38 -06:00