diff options
author | Mike Frysinger <vapier.adi@gmail.com> | 2008-11-18 09:48:21 (GMT) |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2008-11-18 09:48:21 (GMT) |
commit | ecdbfc1ac10eaba04c699d6f8a004f987622264c (patch) | |
tree | 1813d55a77dcbba849d874cb3121b13d60ea1a11 /arch/blackfin/include | |
parent | 5ad2ca5fbbb002e48097b2ab364497d0f9f77987 (diff) | |
download | linux-fsl-qoriq-ecdbfc1ac10eaba04c699d6f8a004f987622264c.tar.xz |
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/blackfin/include')
-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 7dc77a2..e7591ea 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 */ |