diff options
author | Mike Frysinger <vapier.adi@gmail.com> | 2008-11-18 17:48:21 +0800 |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2008-11-18 17:48:21 +0800 |
commit | ecdbfc1ac10eaba04c699d6f8a004f987622264c (patch) | |
tree | 1813d55a77dcbba849d874cb3121b13d60ea1a11 /arch | |
parent | 5ad2ca5fbbb002e48097b2ab364497d0f9f77987 (diff) | |
download | linux-ecdbfc1ac10eaba04c699d6f8a004f987622264c.tar.bz2 |
Blackfin arch: add mmiowb() as some drivers expect
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/blackfin/include/asm/io.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 */ |