summaryrefslogtreecommitdiffstats
path: root/arch/m68k/include/asm/io_no.h
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@linux-m68k.org>2018-03-21 23:36:11 +1000
committerGreg Ungerer <gerg@linux-m68k.org>2018-05-28 09:45:25 +1000
commitfedc33e36406c4e50592a286169583d0d3d25a2e (patch)
tree24088b141527376864d57c0c97ffde9ccb9dfa07 /arch/m68k/include/asm/io_no.h
parentb04e217704b7f879c6b91222b066983a44a7a09f (diff)
downloadlinux-fedc33e36406c4e50592a286169583d0d3d25a2e.tar.bz2
m68k: move *_relaxed macros into io_no.h and io_mm.h
Move a copy of the definitions of the *_relaxed() macros into io_no.h and io_mm.h. This precedes a change to the io_no.h file to use asm-generic/io.h. They will be removed from io_no.h at that point. Signed-off-by: Greg Ungerer <gerg@linux-m68k.org> Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org> Reviewed-by: Angelo Dureghello <angelo@sysam.it> Tested-by: Angelo Dureghello <angelo@sysam.it>
Diffstat (limited to 'arch/m68k/include/asm/io_no.h')
-rw-r--r--arch/m68k/include/asm/io_no.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/m68k/include/asm/io_no.h b/arch/m68k/include/asm/io_no.h
index 86f45b403bcc..ffe567e79082 100644
--- a/arch/m68k/include/asm/io_no.h
+++ b/arch/m68k/include/asm/io_no.h
@@ -189,4 +189,12 @@ static inline void ioport_unmap(void __iomem *p)
#endif /* __KERNEL__ */
+#define readb_relaxed(addr) readb(addr)
+#define readw_relaxed(addr) readw(addr)
+#define readl_relaxed(addr) readl(addr)
+
+#define writeb_relaxed(b, addr) writeb(b, addr)
+#define writew_relaxed(b, addr) writew(b, addr)
+#define writel_relaxed(b, addr) writel(b, addr)
+
#endif /* _M68KNOMMU_IO_H */