From: Mike Frysinger Date: Tue, 18 Nov 2008 09:48:21 +0000 (+0800) Subject: Blackfin arch: add mmiowb() as some drivers expect X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=ecdbfc1ac10eaba04c699d6f8a004f987622264c;p=linux-beck.git Blackfin arch: add mmiowb() as some drivers expect Signed-off-by: Mike Frysinger Signed-off-by: Bryan Wu --- diff --git a/arch/blackfin/include/asm/io.h b/arch/blackfin/include/asm/io.h index 7dc77a21fdf3..e7591ea2a0e0 100644 --- a/arch/blackfin/include/asm/io.h +++ b/arch/blackfin/include/asm/io.h @@ -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 */