diff options
author | Will Deacon <will.deacon@arm.com> | 2019-02-22 14:07:37 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2019-04-08 13:00:06 +0200 |
commit | 335b5c638bfd72b959b22c80f65dea3f614b6cca (patch) | |
tree | 465f2ec02459787e4e45767f5f849caf9ffc34a9 /arch/nds32 | |
parent | x86/io: Remove useless definition of mmiowb() (diff) | |
download | linux-335b5c638bfd72b959b22c80f65dea3f614b6cca.tar.xz linux-335b5c638bfd72b959b22c80f65dea3f614b6cca.zip |
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')
-rw-r--r-- | arch/nds32/include/asm/io.h | 2 |
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 |