Skip to content

Commit

Permalink
nds32/io: Remove useless definition of mmiowb()
Browse files Browse the repository at this point in the history
mmiowb() only makes sense for SMP platforms, so we can remove it
entirely for nds32.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Acked-by: Greentime Hu <greentime@andestech.com>
Signed-off-by: Greentime Hu <greentime@andestech.com>
  • Loading branch information
wildea01 authored and Greentime Hu committed May 7, 2019
1 parent e1bf776 commit 8ac7857
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/nds32/include/asm/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8ac7857

Please sign in to comment.