linux-ia64.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Leif Lindholm <leif.lindholm@linaro.org>
To: linux-efi@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, linux-ia64@vger.kernel.org,
	matt.fleming@intel.com, tony.luck@gmail.com, patches@linaro.org,
	Leif Lindholm <leif.lindholm@linaro.org>
Subject: [PATCH v2 1/5] ia64: add early_memremap() alias for early_ioremap()
Date: Fri, 02 Aug 2013 16:56:18 +0000	[thread overview]
Message-ID: <1375462582-16423-2-git-send-email-leif.lindholm@linaro.org> (raw)
In-Reply-To: <1375462582-16423-1-git-send-email-leif.lindholm@linaro.org>

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)
 {
-- 
1.7.10.4


  reply	other threads:[~2013-08-02 16:56 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-02 16:56 [PATCH v2 0/5] Make commonly useful UEFI functions common Leif Lindholm
2013-08-02 16:56 ` Leif Lindholm [this message]
2013-08-05 10:56   ` [PATCH v2 1/5] ia64: add early_memremap() alias for early_ioremap() Matt Fleming
2013-08-05 16:10     ` Tony Luck
2013-08-06  6:26       ` Matt Fleming
2013-08-02 16:56 ` [PATCH v2 2/5] efi: provide a generic efi_config_init() Leif Lindholm
2013-08-05 12:15   ` Matt Fleming
2013-08-07 11:54     ` Leif Lindholm
2013-08-02 16:56 ` [PATCH v2 3/5] efi: x86: use common code for (U)EFI configuration scanning Leif Lindholm
2013-08-05 12:18   ` Matt Fleming
2013-08-02 16:56 ` [PATCH v2 4/5] efi: ia64: " Leif Lindholm
2013-08-05 12:18   ` Matt Fleming
2013-08-02 16:56 ` [PATCH v2 5/5] efi: x86: make efi_lookup_mapped_addr() a common function Leif Lindholm
2013-08-05 12:26   ` Matt Fleming

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1375462582-16423-2-git-send-email-leif.lindholm@linaro.org \
    --to=leif.lindholm@linaro.org \
    --cc=linux-efi@vger.kernel.org \
    --cc=linux-ia64@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=matt.fleming@intel.com \
    --cc=patches@linaro.org \
    --cc=tony.luck@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).