From: huangdaode <huangdaode@xxxxxxxxxxxxx>yes, it's defined in #include <asm-generic/io-64-nonatomic-hi-lo.h>.
Date: Fri, 25 Sep 2015 14:47:23 +0800
@@ -966,7 +966,15 @@ static inline u32 dsaf_get_reg_field(void *base, u32 reg, u32 mask, u32 shift)Nope, try instead "#include <asm/io-64-nonatomic-lo-hi.h" or
#define dsaf_read_b(addr)\
readb((__iomem unsigned char *)(addr))
+#ifndef readq
+static inline u64 readq(void __iomem *reg)
+{
"#include <asm/io-64-nonatomic-hi-lo.h".
.