Blackfin arch: add mmiowb() as some drivers expect
authorMike Frysinger <vapier.adi@gmail.com>
Tue, 18 Nov 2008 09:48:21 +0000 (17:48 +0800)
committerBryan Wu <cooloney@kernel.org>
Tue, 18 Nov 2008 09:48:21 +0000 (17:48 +0800)
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
arch/blackfin/include/asm/io.h

index 7dc77a21fdf33aeb2f94fc42ad97db7c1f9447a0..e7591ea2a0e08b85431a95dae6a152765c8cf74b 100644 (file)
@@ -108,6 +108,8 @@ static inline unsigned int readl(const volatile void __iomem *addr)
 #define iowrite16(val,X)               writew(val,X)
 #define iowrite32(val,X)               writel(val,X)
 
+#define mmiowb() wmb()
+
 #define IO_SPACE_LIMIT 0xffffffff
 
 /* Values for nocacheflag and cmode */