[PATCH] [POWERPC] Fix a mm compile error

Kumar Gala galak at kernel.crashing.org
Thu Apr 3 17:20:25 EST 2008


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 at 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


More information about the Linuxppc-embedded mailing list