linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: ixp4xx: change type of ioremap function
@ 2013-05-02 17:09 Laura Abbott
  2013-05-04 17:44 ` Krzysztof Halasa
  0 siblings, 1 reply; 2+ messages in thread
From: Laura Abbott @ 2013-05-02 17:09 UTC (permalink / raw)
  To: linux-arm-kernel

Commit cd024d4245b2bfbd824b911f11a9756d1d6c167d
(ARM: 7704/1: mm: Use phys_addr_t properly for ioremap functions)
changed the type of the ioremap functions to actually use phys_addr_t
instead of unsigned long. Change the type of the arch_ioremap function
to use phys_addr_t as well.

Signed-off-by: Laura Abbott <lauraa@codeaurora.org>

diff --git a/arch/arm/mach-ixp4xx/common.c b/arch/arm/mach-ixp4xx/common.c
index 1dbeb7c..659768b 100644
--- a/arch/arm/mach-ixp4xx/common.c
+++ b/arch/arm/mach-ixp4xx/common.c
@@ -558,7 +558,7 @@ void ixp4xx_restart(char mode, const char *cmd)
  * fallback to the default.
  */
 
-static void __iomem *ixp4xx_ioremap_caller(unsigned long addr, size_t size,
+static void __iomem *ixp4xx_ioremap_caller(phys_addr_t addr, size_t size,
 					   unsigned int mtype, void *caller)
 {
 	if (!is_pci_memory(addr))
-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] ARM: ixp4xx: change type of ioremap function
  2013-05-02 17:09 [PATCH] ARM: ixp4xx: change type of ioremap function Laura Abbott
@ 2013-05-04 17:44 ` Krzysztof Halasa
  0 siblings, 0 replies; 2+ messages in thread
From: Krzysztof Halasa @ 2013-05-04 17:44 UTC (permalink / raw)
  To: linux-arm-kernel

Laura Abbott <lauraa@codeaurora.org> writes:

> Commit cd024d4245b2bfbd824b911f11a9756d1d6c167d
> (ARM: 7704/1: mm: Use phys_addr_t properly for ioremap functions)
> changed the type of the ioremap functions to actually use phys_addr_t
> instead of unsigned long. Change the type of the arch_ioremap function
> to use phys_addr_t as well.
>
> Signed-off-by: Laura Abbott <lauraa@codeaurora.org>

Acked-by: Krzysztof Halasa <khc@pm.waw.pl>

>
> diff --git a/arch/arm/mach-ixp4xx/common.c b/arch/arm/mach-ixp4xx/common.c
> index 1dbeb7c..659768b 100644
> --- a/arch/arm/mach-ixp4xx/common.c
> +++ b/arch/arm/mach-ixp4xx/common.c
> @@ -558,7 +558,7 @@ void ixp4xx_restart(char mode, const char *cmd)
>   * fallback to the default.
>   */
>  
> -static void __iomem *ixp4xx_ioremap_caller(unsigned long addr, size_t size,
> +static void __iomem *ixp4xx_ioremap_caller(phys_addr_t addr, size_t size,
>  					   unsigned int mtype, void *caller)
>  {
>  	if (!is_pci_memory(addr))

-- 
Krzysztof Halasa

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-05-04 17:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-02 17:09 [PATCH] ARM: ixp4xx: change type of ioremap function Laura Abbott
2013-05-04 17:44 ` Krzysztof Halasa

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).