diff options
author | Will Deacon <will.deacon@arm.com> | 2019-02-22 17:25:29 +0000 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2019-04-08 12:09:27 +0100 |
commit | 01e3b958efe85a26d9b1b77be3a0a1491bb4cb36 (patch) | |
tree | dde161b861aeb97f03a9b5b357d9ca61cdfb8f2c /arch/powerpc/include/asm/mmiowb.h | |
parent | 96670b2fd0254a2c51cc2bb4b4f3057a6b6f5d29 (diff) | |
download | lwn-01e3b958efe85a26d9b1b77be3a0a1491bb4cb36.tar.gz lwn-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/include/asm/mmiowb.h')
-rw-r--r-- | arch/powerpc/include/asm/mmiowb.h | 2 |
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> |