]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
vfio/fsl-mc: Fixed vfio-fsl-mc driver compilation on 32 bit
authorDiana Craciun <diana.craciun@oss.nxp.com>
Tue, 13 Oct 2020 15:06:51 +0000 (18:06 +0300)
committerAlex Williamson <alex.williamson@redhat.com>
Tue, 13 Oct 2020 17:12:29 +0000 (11:12 -0600)
The FSL_MC_BUS on which the VFIO-FSL-MC driver is dependent on
can be compiled on other architectures as well (not only ARM64)
including 32 bit architectures.
Include linux/io-64-nonatomic-hi-lo.h to make writeq/readq used
in the driver available on 32bit platforms.

Signed-off-by: Diana Craciun <diana.craciun@oss.nxp.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/fsl-mc/vfio_fsl_mc.c

index d009f873578c0161581441637592b8f1081aba23..80fc7f4ed343bfc2c37252c5dcb649fd6fb74f3d 100644 (file)
@@ -13,6 +13,7 @@
 #include <linux/vfio.h>
 #include <linux/fsl/mc.h>
 #include <linux/delay.h>
+#include <linux/io-64-nonatomic-hi-lo.h>
 
 #include "vfio_fsl_mc_private.h"