diff options
author | Greg Ungerer <gerg@linux-m68k.org> | 2018-03-25 15:17:38 +0300 |
---|---|---|
committer | Greg Ungerer <gerg@linux-m68k.org> | 2018-05-28 02:45:26 +0300 |
commit | 9746882f547d2f00d2e761b418ae690cd406c8e2 (patch) | |
tree | 0725af19adb03a2d9743b5f0b8bfe5d202265655 /arch/m68k/include/asm/raw_io.h | |
parent | 4478048b4485285353cc095a47683d2a86509c7d (diff) | |
download | linux-9746882f547d2f00d2e761b418ae690cd406c8e2.tar.xz |
m68k: group io mapping definitions and functions
Create a new header file, kmap.h, that groups all the definitions and
functions associated with the io mapping and remapping.
Currently the functions are spread across raw_io.h and io_mm.h. And in
the future we will want to use these in io_no.h as well. So it makes
sense to move them all together into a single header file.
It is named after the arch/m68k/mm/kmap.c file that actually implements
many of the exported functions.
Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
Tested-by: Angelo Dureghello <angelo@sysam.it>
Diffstat (limited to 'arch/m68k/include/asm/raw_io.h')
-rw-r--r-- | arch/m68k/include/asm/raw_io.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/m68k/include/asm/raw_io.h b/arch/m68k/include/asm/raw_io.h index 05e940c29b54..85761255dde5 100644 --- a/arch/m68k/include/asm/raw_io.h +++ b/arch/m68k/include/asm/raw_io.h @@ -13,20 +13,6 @@ #include <asm/byteorder.h> - -/* Values for nocacheflag and cmode */ -#define IOMAP_FULL_CACHING 0 -#define IOMAP_NOCACHE_SER 1 -#define IOMAP_NOCACHE_NONSER 2 -#define IOMAP_WRITETHROUGH 3 - -extern void iounmap(void __iomem *addr); - -extern void __iomem *__ioremap(unsigned long physaddr, unsigned long size, - int cacheflag); -extern void __iounmap(void *addr, unsigned long size); - - /* ++roman: The assignments to temp. vars avoid that gcc sometimes generates * two accesses to memory, which may be undesirable for some devices. */ |