[PATCH] [POWERPC] Fix a mm compile error

Emil Medve Emilian.Medve at Freescale.com
Thu Apr 3 10:05:33 EST 2008


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;
 
 /*
  * Check for command-line options that affect what MMU_init will do.
-- 
1.5.4.GIT



More information about the Linuxppc-embedded mailing list