From: Will Deacon Date: Fri, 22 Feb 2019 13:07:37 +0000 (+0000) Subject: nds32/io: Remove useless definition of mmiowb() X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=335b5c638bfd72b959b22c80f65dea3f614b6cca;p=openwrt%2Fstaging%2Fblogic.git nds32/io: Remove useless definition of mmiowb() mmiowb() only makes sense for SMP platforms, so remove it entirely for nds32. Acked-by: Linus Torvalds Signed-off-by: Will Deacon --- 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