linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] [POWERPC] Fix a mm compile error
@ 2008-04-02 23:05 Emil Medve
  2008-04-03  6:20 ` Kumar Gala
  0 siblings, 1 reply; 2+ messages in thread
From: Emil Medve @ 2008-04-02 23:05 UTC (permalink / raw)
  To: paulus, linuxppc-dev, linuxppc-embedded; +Cc: Emil Medve

arch/powerpc/mm/init_32.c:102: error: conflicting types for '__initial_memory_limit_addr'
arch/powerpc/mm/mmu_decl.h:51: error: previous declaration of '__initial_memory_limit_addr' was here

Signed-off-by: Emil Medve <Emilian.Medve@Freescale.com>
---
 arch/powerpc/mm/init_32.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/powerpc/mm/init_32.c b/arch/powerpc/mm/init_32.c
index 555bb7e..63c5e3d 100644
--- a/arch/powerpc/mm/init_32.c
+++ b/arch/powerpc/mm/init_32.c
@@ -99,7 +99,7 @@ unsigned long __max_low_memory = MAX_LOW_MEM;
  * address of the limit of what is accessible with initial MMU setup -
  * 256MB usually, but only 16MB on 601.
  */
-unsigned long __initial_memory_limit_addr = 0x10000000;
+phys_addr_t __initial_memory_limit_addr = 0x10000000;
 
 /*
  * Check for command-line options that affect what MMU_init will do.
-- 
1.5.4.GIT

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

* Re: [PATCH] [POWERPC] Fix a mm compile error
  2008-04-02 23:05 [PATCH] [POWERPC] Fix a mm compile error Emil Medve
@ 2008-04-03  6:20 ` Kumar Gala
  0 siblings, 0 replies; 2+ messages in thread
From: Kumar Gala @ 2008-04-03  6:20 UTC (permalink / raw)
  To: Emil Medve; +Cc: linuxppc-dev, paulus, linuxppc-embedded


On Apr 2, 2008, at 6:05 PM, Emil Medve wrote:
> arch/powerpc/mm/init_32.c:102: error: conflicting types for  
> '__initial_memory_limit_addr'
> arch/powerpc/mm/mmu_decl.h:51: error: previous declaration of  
> '__initial_memory_limit_addr' was here
>
> Signed-off-by: Emil Medve <Emilian.Medve@Freescale.com>
> ---
> arch/powerpc/mm/init_32.c |    2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/powerpc/mm/init_32.c b/arch/powerpc/mm/init_32.c
> index 555bb7e..63c5e3d 100644
> --- a/arch/powerpc/mm/init_32.c
> +++ b/arch/powerpc/mm/init_32.c
> @@ -99,7 +99,7 @@ unsigned long __max_low_memory = MAX_LOW_MEM;
>  * address of the limit of what is accessible with initial MMU setup -
>  * 256MB usually, but only 16MB on 601.
>  */
> -unsigned long __initial_memory_limit_addr = 0x10000000;
> +phys_addr_t __initial_memory_limit_addr = 0x10000000;

I should have fixed this in my tree, if there are still issues let me  
know.

- k

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

end of thread, other threads:[~2008-04-03  6:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-02 23:05 [PATCH] [POWERPC] Fix a mm compile error Emil Medve
2008-04-03  6:20 ` Kumar Gala

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