summaryrefslogtreecommitdiff
path: root/arch/parisc
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2019-02-22 20:25:29 +0300
committerWill Deacon <will.deacon@arm.com>2019-04-08 14:09:27 +0300
commit01e3b958efe85a26d9b1b77be3a0a1491bb4cb36 (patch)
treedde161b861aeb97f03a9b5b357d9ca61cdfb8f2c /arch/parisc
parent96670b2fd0254a2c51cc2bb4b4f3057a6b6f5d29 (diff)
downloadlinux-01e3b958efe85a26d9b1b77be3a0a1491bb4cb36.tar.xz
arch: Remove dummy mmiowb() definitions from arch code
Now that no driver code is using mmiowb() directly, remove the dummy definitions remaining in architectures that don't make use of asm-generic/io.h, as well as the definition in asm-generic/io.h itself. Acked-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/parisc')
-rw-r--r--arch/parisc/include/asm/io.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/parisc/include/asm/io.h b/arch/parisc/include/asm/io.h
index 30a8315d5c07..93d37010b375 100644
--- a/arch/parisc/include/asm/io.h
+++ b/arch/parisc/include/asm/io.h
@@ -229,8 +229,6 @@ static inline void writeq(unsigned long long q, volatile void __iomem *addr)
#define writel_relaxed(l, addr) writel(l, addr)
#define writeq_relaxed(q, addr) writeq(q, addr)
-#define mmiowb() do { } while (0)
-
void memset_io(volatile void __iomem *addr, unsigned char val, int count);
void memcpy_fromio(void *dst, const volatile void __iomem *src, int count);
void memcpy_toio(volatile void __iomem *dst, const void *src, int count);