aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k/include/asm/kmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/m68k/include/asm/kmap.h')
-rw-r--r--arch/m68k/include/asm/kmap.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/m68k/include/asm/kmap.h b/arch/m68k/include/asm/kmap.h
index 84b8333db8ad..608e12f058a7 100644
--- a/arch/m68k/include/asm/kmap.h
+++ b/arch/m68k/include/asm/kmap.h
@@ -4,6 +4,8 @@
4 4
5#ifdef CONFIG_MMU 5#ifdef CONFIG_MMU
6 6
7#define ARCH_HAS_IOREMAP_WT
8
7/* Values for nocacheflag and cmode */ 9/* Values for nocacheflag and cmode */
8#define IOMAP_FULL_CACHING 0 10#define IOMAP_FULL_CACHING 0
9#define IOMAP_NOCACHE_SER 1 11#define IOMAP_NOCACHE_SER 1
@@ -16,6 +18,7 @@
16 */ 18 */
17extern void __iomem *__ioremap(unsigned long physaddr, unsigned long size, 19extern void __iomem *__ioremap(unsigned long physaddr, unsigned long size,
18 int cacheflag); 20 int cacheflag);
21#define iounmap iounmap
19extern void iounmap(void __iomem *addr); 22extern void iounmap(void __iomem *addr);
20extern void __iounmap(void *addr, unsigned long size); 23extern void __iounmap(void *addr, unsigned long size);
21 24
@@ -33,13 +36,14 @@ static inline void __iomem *ioremap_nocache(unsigned long physaddr,
33} 36}
34 37
35#define ioremap_uc ioremap_nocache 38#define ioremap_uc ioremap_nocache
39#define ioremap_wt ioremap_wt
36static inline void __iomem *ioremap_wt(unsigned long physaddr, 40static inline void __iomem *ioremap_wt(unsigned long physaddr,
37 unsigned long size) 41 unsigned long size)
38{ 42{
39 return __ioremap(physaddr, size, IOMAP_WRITETHROUGH); 43 return __ioremap(physaddr, size, IOMAP_WRITETHROUGH);
40} 44}
41 45
42#define ioremap_fillcache ioremap_fullcache 46#define ioremap_fullcache ioremap_fullcache
43static inline void __iomem *ioremap_fullcache(unsigned long physaddr, 47static inline void __iomem *ioremap_fullcache(unsigned long physaddr,
44 unsigned long size) 48 unsigned long size)
45{ 49{