summaryrefslogtreecommitdiffstats
path: root/arch/m68k
diff options
context:
space:
mode:
authorWill Deacon2019-02-22 14:03:18 +0100
committerWill Deacon2019-04-08 13:00:18 +0200
commit0f43ca692dcb55108ea9a59c11a1a0e359dba367 (patch)
tree7b3a462fac5e519fa6f431e4ce531463cb35174e /arch/m68k
parentnds32/io: Remove useless definition of mmiowb() (diff)
downloadkernel-qcow2-linux-0f43ca692dcb55108ea9a59c11a1a0e359dba367.tar.gz
kernel-qcow2-linux-0f43ca692dcb55108ea9a59c11a1a0e359dba367.tar.xz
kernel-qcow2-linux-0f43ca692dcb55108ea9a59c11a1a0e359dba367.zip
m68k/io: Remove useless definition of mmiowb()
m68k includes asm-generic/io.h, which provides a dummy definition of mmiowb() if one isn't already provided by the architecture. Remove the useless definition. Acked-by: Geert Uytterhoeven <geert@linux-m68k.org> Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/m68k')
-rw-r--r--arch/m68k/include/asm/io_mm.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/m68k/include/asm/io_mm.h b/arch/m68k/include/asm/io_mm.h
index 782b78f8a048..6c03ca5bc436 100644
--- a/arch/m68k/include/asm/io_mm.h
+++ b/arch/m68k/include/asm/io_mm.h
@@ -377,8 +377,6 @@ static inline void isa_delay(void)
#define writesw(port, buf, nr) raw_outsw((port), (u16 *)(buf), (nr))
#define writesl(port, buf, nr) raw_outsl((port), (u32 *)(buf), (nr))
-#define mmiowb()
-
#ifndef CONFIG_SUN3
#define IO_SPACE_LIMIT 0xffff
#else