diff options
author | Will Deacon <will.deacon@arm.com> | 2019-02-22 13:07:37 +0000 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2019-04-08 12:00:06 +0100 |
commit | 335b5c638bfd72b959b22c80f65dea3f614b6cca (patch) | |
tree | 465f2ec02459787e4e45767f5f849caf9ffc34a9 /arch/nds32 | |
parent | 08f1f3a72f4cea136686585b81a251baa3539f12 (diff) | |
download | linux-stable-335b5c638bfd72b959b22c80f65dea3f614b6cca.tar.gz linux-stable-335b5c638bfd72b959b22c80f65dea3f614b6cca.tar.bz2 linux-stable-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 |