summaryrefslogtreecommitdiffstats
path: root/include/asm-generic
diff options
context:
space:
mode:
authorWill Deacon <will.deacon@arm.com>2019-02-22 17:25:29 +0000
committerWill Deacon <will.deacon@arm.com>2019-04-08 12:09:27 +0100
commit01e3b958efe85a26d9b1b77be3a0a1491bb4cb36 (patch)
treedde161b861aeb97f03a9b5b357d9ca61cdfb8f2c /include/asm-generic
parent96670b2fd0254a2c51cc2bb4b4f3057a6b6f5d29 (diff)
downloadlinux-01e3b958efe85a26d9b1b77be3a0a1491bb4cb36.tar.gz
linux-01e3b958efe85a26d9b1b77be3a0a1491bb4cb36.tar.bz2
linux-01e3b958efe85a26d9b1b77be3a0a1491bb4cb36.zip
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 'include/asm-generic')
-rw-r--r--include/asm-generic/io.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/asm-generic/io.h b/include/asm-generic/io.h
index bc490a746602..8f3bf95a36d1 100644
--- a/include/asm-generic/io.h
+++ b/include/asm-generic/io.h
@@ -22,10 +22,6 @@
#include <asm/mmiowb.h>
#include <asm-generic/pci_iomap.h>
-#ifndef mmiowb
-#define mmiowb() do {} while (0)
-#endif
-
#ifndef __io_br
#define __io_br() barrier()
#endif