projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08f1f3a
)
nds32/io: Remove useless definition of mmiowb()
author
Will Deacon
<will.deacon@arm.com>
Fri, 22 Feb 2019 13:07:37 +0000
(13:07 +0000)
committer
Will Deacon
<will.deacon@arm.com>
Mon, 8 Apr 2019 11:00:06 +0000
(12:00 +0100)
mmiowb() only makes sense for SMP platforms, so remove it entirely for
nds32.
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/nds32/include/asm/io.h
patch
|
blob
|
history
diff --git
a/arch/nds32/include/asm/io.h
b/arch/nds32/include/asm/io.h
index 71cd226d6863ee4a218e657dda216535f2e6fcf1..5ef8ae5ba83368af59be986582fb7e5f34a266f9 100644
(file)
--- a/
arch/nds32/include/asm/io.h
+++ b/
arch/nds32/include/asm/io.h
@@
-55,8
+55,6
@@
static inline u32 __raw_readl(const volatile void __iomem *addr)
#define __iormb() rmb()
#define __iowmb() wmb()
-#define mmiowb() __asm__ __volatile__ ("msync all" : : : "memory");
-
/*
* {read,write}{b,w,l,q}_relaxed() are like the regular version, but
* are not guaranteed to provide ordering against spinlocks or memory