From: Vincent Whitchurch Date: Wed, 16 Jan 2019 16:32:48 +0000 (+0100) Subject: vop: Add definition of readq/writeq if missing X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=96c12ef9b905237978855d582eff6b4dee152f52;p=openwrt%2Fstaging%2Fblogic.git vop: Add definition of readq/writeq if missing Include 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 Signed-off-by: Greg Kroah-Hartman --- 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 #include #include +#include #include "vop_main.h"