提交 8ac78574 编写于 作者: W Will Deacon 提交者: Greentime Hu

nds32/io: Remove useless definition of mmiowb()

mmiowb() only makes sense for SMP platforms, so we can remove it
entirely for nds32.
Signed-off-by: NWill Deacon <will.deacon@arm.com>
Acked-by: NGreentime Hu <greentime@andestech.com>
Signed-off-by: NGreentime Hu <greentime@andestech.com>
上级 e1bf7763
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册