aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k/include/asm/io.h
diff options
context:
space:
mode:
authorLaurent Vivier <laurent@vivier.eu>2022-04-06 22:15:23 +0200
committerGeert Uytterhoeven <geert@linux-m68k.org>2022-04-11 11:48:01 +0200
commit05d51e42df06f0211c7029ab9aa46c492ee85043 (patch)
tree0eaaad4386f25f382cdcf62e17090707d0e3f304 /arch/m68k/include/asm/io.h
parentclocksource/drivers: Add a goldfish-timer clocksource (diff)
downloadlinux-dev-05d51e42df06f0211c7029ab9aa46c492ee85043.tar.xz
linux-dev-05d51e42df06f0211c7029ab9aa46c492ee85043.zip
m68k: Introduce a virtual m68k machine
This machine allows to have up to 3.2 GiB and 128 Virtio devices. It is based on android goldfish devices. Signed-off-by: Laurent Vivier <laurent@vivier.eu> Link: https://lore.kernel.org/r/20220406201523.243733-5-laurent@vivier.eu Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/include/asm/io.h')
-rw-r--r--arch/m68k/include/asm/io.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/m68k/include/asm/io.h b/arch/m68k/include/asm/io.h
index aabe6420ead2..aaeabc65e63c 100644
--- a/arch/m68k/include/asm/io.h
+++ b/arch/m68k/include/asm/io.h
@@ -8,6 +8,9 @@
#include <asm/io_mm.h>
#endif
+#define gf_ioread32 ioread32be
+#define gf_iowrite32 iowrite32be
+
#include <asm-generic/io.h>
#endif /* _M68K_IO_H */