vop: Add definition of readq/writeq if missing
authorVincent Whitchurch <vincent.whitchurch@axis.com>
Wed, 16 Jan 2019 16:32:48 +0000 (17:32 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 22 Jan 2019 10:43:17 +0000 (11:43 +0100)
commit96c12ef9b905237978855d582eff6b4dee152f52
tree44e4ff1fd543855ef40b489dcae4a4b4c65a8379
parente637308b40b1c88f4416a624e739d81c7cf4e248
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>
drivers/misc/mic/vop/vop_main.c