|
@@ -83,6 +83,11 @@ extern void __iomem *__arm_ioremap_pfn(unsigned long, unsigned long, size_t, uns
|
|
extern void __iomem *__arm_ioremap(unsigned long, size_t, unsigned int);
|
|
extern void __iomem *__arm_ioremap(unsigned long, size_t, unsigned int);
|
|
extern void __iomem *__arm_ioremap_exec(unsigned long, size_t, bool cached);
|
|
extern void __iomem *__arm_ioremap_exec(unsigned long, size_t, bool cached);
|
|
extern void __iounmap(volatile void __iomem *addr);
|
|
extern void __iounmap(volatile void __iomem *addr);
|
|
|
|
+extern void __arm_iounmap(volatile void __iomem *addr);
|
|
|
|
+
|
|
|
|
+extern void __iomem * (*arch_ioremap_caller)(unsigned long, size_t,
|
|
|
|
+ unsigned int, void *);
|
|
|
|
+extern void (*arch_iounmap)(volatile void __iomem *);
|
|
|
|
|
|
/*
|
|
/*
|
|
* Bad read/write accesses...
|
|
* Bad read/write accesses...
|
|
@@ -266,7 +271,7 @@ extern void _memset_io(volatile void __iomem *, int, size_t);
|
|
*/
|
|
*/
|
|
#ifndef __arch_ioremap
|
|
#ifndef __arch_ioremap
|
|
#define __arch_ioremap __arm_ioremap
|
|
#define __arch_ioremap __arm_ioremap
|
|
-#define __arch_iounmap __iounmap
|
|
|
|
|
|
+#define __arch_iounmap __arm_iounmap
|
|
#endif
|
|
#endif
|
|
|
|
|
|
#define ioremap(cookie,size) __arch_ioremap((cookie), (size), MT_DEVICE)
|
|
#define ioremap(cookie,size) __arch_ioremap((cookie), (size), MT_DEVICE)
|