summaryrefslogtreecommitdiffstats
path: root/drivers/misc/mic
diff options
context:
space:
mode:
authorVincent Whitchurch <vincent.whitchurch@axis.com>2019-01-16 17:32:48 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-01-22 11:43:17 +0100
commit96c12ef9b905237978855d582eff6b4dee152f52 (patch)
tree44e4ff1fd543855ef40b489dcae4a4b4c65a8379 /drivers/misc/mic
parente637308b40b1c88f4416a624e739d81c7cf4e248 (diff)
downloadlinux-96c12ef9b905237978855d582eff6b4dee152f52.tar.bz2
vop: Add definition of readq/writeq if missing
Include <linux/io-64-nonatomic-lo-hi.h> so that readq/writeq are replaced by two readl/writel on systems that do not support them. The values read/written are pointers which will be 32-bit on 32-bit systems so the non-atomicity should not matter. Signed-off-by: Vincent Whitchurch <vincent.whitchurch@axis.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mic')
-rw-r--r--drivers/misc/mic/vop/vop_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/misc/mic/vop/vop_main.c b/drivers/misc/mic/vop/vop_main.c
index 216e864bb5df..1a9b410f4190 100644
--- a/drivers/misc/mic/vop/vop_main.c
+++ b/drivers/misc/mic/vop/vop_main.c
@@ -34,6 +34,7 @@
#include <linux/module.h>
#include <linux/sched.h>
#include <linux/dma-mapping.h>
+#include <linux/io-64-nonatomic-lo-hi.h>
#include "vop_main.h"