|
@@ -624,9 +624,8 @@ static inline void iosync(void)
|
|
|
* * ioremap is the standard one and provides non-cacheable guarded mappings
|
|
|
* and can be hooked by the platform via ppc_md
|
|
|
*
|
|
|
- * * ioremap_flags allows to specify the page flags as an argument and can
|
|
|
- * also be hooked by the platform via ppc_md. ioremap_prot is the exact
|
|
|
- * same thing as ioremap_flags.
|
|
|
+ * * ioremap_prot allows to specify the page flags as an argument and can
|
|
|
+ * also be hooked by the platform via ppc_md.
|
|
|
*
|
|
|
* * ioremap_nocache is identical to ioremap
|
|
|
*
|
|
@@ -639,7 +638,7 @@ static inline void iosync(void)
|
|
|
* currently be hooked. Must be page aligned.
|
|
|
*
|
|
|
* * __ioremap is the low level implementation used by ioremap and
|
|
|
- * ioremap_flags and cannot be hooked (but can be used by a hook on one
|
|
|
+ * ioremap_prot and cannot be hooked (but can be used by a hook on one
|
|
|
* of the previous ones)
|
|
|
*
|
|
|
* * __ioremap_caller is the same as above but takes an explicit caller
|
|
@@ -650,11 +649,10 @@ static inline void iosync(void)
|
|
|
*
|
|
|
*/
|
|
|
extern void __iomem *ioremap(phys_addr_t address, unsigned long size);
|
|
|
-extern void __iomem *ioremap_flags(phys_addr_t address, unsigned long size,
|
|
|
- unsigned long flags);
|
|
|
+extern void __iomem *ioremap_prot(phys_addr_t address, unsigned long size,
|
|
|
+ unsigned long flags);
|
|
|
extern void __iomem *ioremap_wc(phys_addr_t address, unsigned long size);
|
|
|
#define ioremap_nocache(addr, size) ioremap((addr), (size))
|
|
|
-#define ioremap_prot(addr, size, prot) ioremap_flags((addr), (size), (prot))
|
|
|
|
|
|
extern void iounmap(volatile void __iomem *addr);
|
|
|
|