projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d669a1
)
ARC: Add read*_relaxed to asm/io.h
author
Mischa Jonker
<mjonker@synopsys.com>
Wed, 28 Aug 2013 18:32:50 +0000
(20:32 +0200)
committer
Vineet Gupta
<vgupta@synopsys.com>
Thu, 5 Sep 2013 05:01:11 +0000
(10:31 +0530)
Some drivers require these, and ARC didn't had them yet.
Signed-off-by: Mischa Jonker <mjonker@synopsys.com>
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
arch/arc/include/asm/io.h
patch
|
blob
|
history
diff --git
a/arch/arc/include/asm/io.h
b/arch/arc/include/asm/io.h
index 473424d7528bd344985f3616e641f9823db24aa9..334ce7017a18e937961e81c00b97acfc9779b316 100644
(file)
--- a/
arch/arc/include/asm/io.h
+++ b/
arch/arc/include/asm/io.h
@@
-100,6
+100,10
@@
static inline void __raw_writel(u32 w, volatile void __iomem *addr)
}
+#define readb_relaxed readb
+#define readw_relaxed readw
+#define readl_relaxed readl
+
#include <asm-generic/io.h>
#endif /* _ASM_ARC_IO_H */