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>
This commit is contained in:
parent
5ad2ca5fbb
commit
ecdbfc1ac1
1 changed files with 2 additions and 0 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue