Commit 335b5c63 authored by Will Deacon's avatar Will Deacon
Browse files

nds32/io: Remove useless definition of mmiowb()



mmiowb() only makes sense for SMP platforms, so remove it entirely for
nds32.

Acked-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: default avatarWill Deacon <will.deacon@arm.com>
parent 08f1f3a7
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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