Commit 83e49179 authored by Diana Craciun's avatar Diana Craciun Committed by Alex Williamson

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: default avatarDiana Craciun <diana.craciun@oss.nxp.com>
Signed-off-by: default avatarAlex Williamson <alex.williamson@redhat.com>
parent 20993632
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
#include <linux/vfio.h> #include <linux/vfio.h>
#include <linux/fsl/mc.h> #include <linux/fsl/mc.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/io-64-nonatomic-hi-lo.h>
#include "vfio_fsl_mc_private.h" #include "vfio_fsl_mc_private.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment