summaryrefslogtreecommitdiff
path: root/arch/nds32/include/asm/io.h
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2019-02-22 13:07:37 +0000
committerWill Deacon <will.deacon@arm.com>2019-04-08 12:00:06 +0100
commit335b5c638bfd72b959b22c80f65dea3f614b6cca (patch)
tree465f2ec02459787e4e45767f5f849caf9ffc34a9 /arch/nds32/include/asm/io.h
parent08f1f3a72f4cea136686585b81a251baa3539f12 (diff)
nds32/io: Remove useless definition of mmiowb()
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>
Diffstat (limited to 'arch/nds32/include/asm/io.h')
-rw-r--r--arch/nds32/include/asm/io.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/nds32/include/asm/io.h b/arch/nds32/include/asm/io.h
index 71cd226d6863..5ef8ae5ba833 100644
--- 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