Commit ecdbfc1a authored by Mike Frysinger's avatar Mike Frysinger Committed by Bryan Wu

Blackfin arch: add mmiowb() as some drivers expect

Signed-off-by: default avatarMike Frysinger <vapier.adi@gmail.com>
Signed-off-by: default avatarBryan Wu <cooloney@kernel.org>
parent 5ad2ca5f
...@@ -108,6 +108,8 @@ static inline unsigned int readl(const volatile void __iomem *addr) ...@@ -108,6 +108,8 @@ static inline unsigned int readl(const volatile void __iomem *addr)
#define iowrite16(val,X) writew(val,X) #define iowrite16(val,X) writew(val,X)
#define iowrite32(val,X) writel(val,X) #define iowrite32(val,X) writel(val,X)
#define mmiowb() wmb()
#define IO_SPACE_LIMIT 0xffffffff #define IO_SPACE_LIMIT 0xffffffff
/* Values for nocacheflag and cmode */ /* Values for nocacheflag and cmode */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment