Home
last modified time | relevance | path

Searched hist:"45 e869714489431625c569d21fc952428d761476" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/vfio/pci/
H A Dvfio_pci_rdwr.cdiff 45e869714489431625c569d21fc952428d761476 Fri Dec 30 16:13:47 CET 2016 Arnd Bergmann <arnd@arndb.de> 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>