Message ID | 1375462582-16423-2-git-send-email-leif.lindholm@linaro.org |
---|---|
State | Accepted |
Commit | d02d0545f1fc62302fd9973a530b8029f1d9a9f1 |
Headers | show |
On Fri, 02 Aug, at 05:56:18PM, Leif Lindholm wrote: > early_ioremap() on IA64 chooses its mapping type based on the EFI > memory map. This patch adds an alias "early_memremap()" to be used > where the targeted location is memory rather than an i/o device. > > Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org> > --- > arch/ia64/include/asm/io.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/ia64/include/asm/io.h b/arch/ia64/include/asm/io.h > index 74a7cc3..0d2bcb3 100644 > --- a/arch/ia64/include/asm/io.h > +++ b/arch/ia64/include/asm/io.h > @@ -424,6 +424,7 @@ extern void __iomem * ioremap(unsigned long offset, unsigned long size); > extern void __iomem * ioremap_nocache (unsigned long offset, unsigned long size); > extern void iounmap (volatile void __iomem *addr); > extern void __iomem * early_ioremap (unsigned long phys_addr, unsigned long size); > +#define early_memremap(phys_addr, size) early_ioremap(phys_addr, size) > extern void early_iounmap (volatile void __iomem *addr, unsigned long size); > static inline void __iomem * ioremap_cache (unsigned long phys_addr, unsigned long size) Tony, can I get your Acked-by for this?
On Mon, Aug 5, 2013 at 3:56 AM, Matt Fleming <matt@console-pimps.org> wrote: >> @@ -424,6 +424,7 @@ extern void __iomem * ioremap(unsigned long offset, unsigned long size); >> extern void __iomem * ioremap_nocache (unsigned long offset, unsigned long size); >> extern void iounmap (volatile void __iomem *addr); >> extern void __iomem * early_ioremap (unsigned long phys_addr, unsigned long size); >> +#define early_memremap(phys_addr, size) early_ioremap(phys_addr, size) >> extern void early_iounmap (volatile void __iomem *addr, unsigned long size); >> static inline void __iomem * ioremap_cache (unsigned long phys_addr, unsigned long size) > > Tony, can I get your Acked-by for this? Acked-by: Tony Luck <tony.luck@intel.com> [Cut & paste this ack to other parts of the series that touch ia64] -Tony
On Mon, 05 Aug, at 09:10:19AM, Tony Luck wrote: > Acked-by: Tony Luck <tony.luck@intel.com> > > [Cut & paste this ack to other parts of the series that touch ia64] Will do, thanks Tony!
diff --git a/arch/ia64/include/asm/io.h b/arch/ia64/include/asm/io.h index 74a7cc3..0d2bcb3 100644 --- a/arch/ia64/include/asm/io.h +++ b/arch/ia64/include/asm/io.h @@ -424,6 +424,7 @@ extern void __iomem * ioremap(unsigned long offset, unsigned long size); extern void __iomem * ioremap_nocache (unsigned long offset, unsigned long size); extern void iounmap (volatile void __iomem *addr); extern void __iomem * early_ioremap (unsigned long phys_addr, unsigned long size); +#define early_memremap(phys_addr, size) early_ioremap(phys_addr, size) extern void early_iounmap (volatile void __iomem *addr, unsigned long size); static inline void __iomem * ioremap_cache (unsigned long phys_addr, unsigned long size) {
early_ioremap() on IA64 chooses its mapping type based on the EFI memory map. This patch adds an alias "early_memremap()" to be used where the targeted location is memory rather than an i/o device. Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org> --- arch/ia64/include/asm/io.h | 1 + 1 file changed, 1 insertion(+)