diff options
author | Leif Lindholm <leif.lindholm@linaro.org> | 2013-09-05 14:34:53 +0400 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2013-09-05 16:29:28 +0400 |
commit | d02d0545f1fc62302fd9973a530b8029f1d9a9f1 (patch) | |
tree | 9bb982eff5a539e22be0c1b5da5580a4c41bc1f5 /arch/ia64 | |
parent | 6e4664525b1db28f8c4e1130957f70a94c19213e (diff) | |
download | linux-d02d0545f1fc62302fd9973a530b8029f1d9a9f1.tar.xz |
ia64: add early_memremap() alias for early_ioremap()
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>
Acked-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'arch/ia64')
-rw-r--r-- | arch/ia64/include/asm/io.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/ia64/include/asm/io.h b/arch/ia64/include/asm/io.h index 74a7cc3293bc..0d2bcb37ec35 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) { |