projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ad2ca5
)
Blackfin arch: add mmiowb() as some drivers expect
author
Mike Frysinger
<vapier.adi@gmail.com>
Tue, 18 Nov 2008 09:48:21 +0000
(17:48 +0800)
committer
Bryan 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
patch
|
blob
|
history
diff --git
a/arch/blackfin/include/asm/io.h
b/arch/blackfin/include/asm/io.h
index
7dc77a2
..
e7591ea
100644
(file)
--- 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 */