aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/vfio
diff options
context:
space:
mode:
authorDiana Craciun <diana.craciun@oss.nxp.com>2020-10-13 18:06:51 +0300
committerAlex Williamson <alex.williamson@redhat.com>2020-10-13 11:12:29 -0600
commit83e491799e631dd41e7c7a870dd3a7603c461123 (patch)
tree9e8651c613c64d5bde399b3f720171ffcd5c7ebe /drivers/vfio
parentMerge branches 'v5.10/vfio/fsl-mc-v6' and 'v5.10/vfio/zpci-info-v3' into v5.10/vfio/next (diff)
downloadwireguard-linux-83e491799e631dd41e7c7a870dd3a7603c461123.tar.xz
wireguard-linux-83e491799e631dd41e7c7a870dd3a7603c461123.zip
vfio/fsl-mc: Fixed vfio-fsl-mc driver compilation on 32 bit
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>
Diffstat (limited to 'drivers/vfio')
-rw-r--r--drivers/vfio/fsl-mc/vfio_fsl_mc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/vfio/fsl-mc/vfio_fsl_mc.c b/drivers/vfio/fsl-mc/vfio_fsl_mc.c
index d009f873578c..80fc7f4ed343 100644
--- a/drivers/vfio/fsl-mc/vfio_fsl_mc.c
+++ b/drivers/vfio/fsl-mc/vfio_fsl_mc.c
@@ -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"