aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc
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 /arch/powerpc
parentnet/ethernet/silan/sc92031: Remove stale comment about mmiowb() (diff)
downloadlinux-dev-01e3b958efe85a26d9b1b77be3a0a1491bb4cb36.tar.xz
linux-dev-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 'arch/powerpc')
-rw-r--r--arch/powerpc/include/asm/mmiowb.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/include/asm/mmiowb.h b/arch/powerpc/include/asm/mmiowb.h
index b10180613507..74a00127eb20 100644
--- a/arch/powerpc/include/asm/mmiowb.h
+++ b/arch/powerpc/include/asm/mmiowb.h
@@ -11,8 +11,6 @@
#define arch_mmiowb_state() (&local_paca->mmiowb_state)
#define mmiowb() mb()
-#else
-#define mmiowb() do { } while (0)
#endif /* CONFIG_MMIOWB */
#include <asm-generic/mmiowb.h>