diff options
| author | Will Deacon <will.deacon@arm.com> | 2019-03-01 09:03:35 -0500 |
|---|---|---|
| committer | Greentime Hu <greentime@andestech.com> | 2019-05-07 05:52:09 -0400 |
| commit | 8ac7857406cd9dd14f5da42044f2d4b7cf5b6ae6 (patch) | |
| tree | 50f6a6634d2741e33f7c3b75dff0727e83674a1e | |
| parent | e1bf776363f36de1689da4248c95780935b28ec3 (diff) | |
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: Will Deacon <will.deacon@arm.com>
Acked-by: Greentime Hu <greentime@andestech.com>
Signed-off-by: Greentime Hu <greentime@andestech.com>
| -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) | |||
| 55 | #define __iormb() rmb() | 55 | #define __iormb() rmb() |
| 56 | #define __iowmb() wmb() | 56 | #define __iowmb() wmb() |
| 57 | 57 | ||
| 58 | #define mmiowb() __asm__ __volatile__ ("msync all" : : : "memory"); | ||
| 59 | |||
| 60 | /* | 58 | /* |
| 61 | * {read,write}{b,w,l,q}_relaxed() are like the regular version, but | 59 | * {read,write}{b,w,l,q}_relaxed() are like the regular version, but |
| 62 | * are not guaranteed to provide ordering against spinlocks or memory | 60 | * are not guaranteed to provide ordering against spinlocks or memory |
