aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
Diffstat (limited to 'arch')
-rw-r--r--arch/powerpc/mm/40x_mmu.c2
-rw-r--r--arch/powerpc/mm/44x_mmu.c2
-rw-r--r--arch/powerpc/mm/fsl_booke_mmu.c2
-rw-r--r--arch/powerpc/mm/mmu_decl.h6
4 files changed, 6 insertions, 6 deletions
diff --git a/arch/powerpc/mm/40x_mmu.c b/arch/powerpc/mm/40x_mmu.c
index f5e7b9ce63dd..08dfa8e6d86f 100644
--- a/arch/powerpc/mm/40x_mmu.c
+++ b/arch/powerpc/mm/40x_mmu.c
@@ -91,7 +91,7 @@ void __init MMU_init_hw(void)
91#define LARGE_PAGE_SIZE_16M (1<<24) 91#define LARGE_PAGE_SIZE_16M (1<<24)
92#define LARGE_PAGE_SIZE_4M (1<<22) 92#define LARGE_PAGE_SIZE_4M (1<<22)
93 93
94unsigned long __init mmu_mapin_ram(void) 94unsigned long __init mmu_mapin_ram(unsigned long top)
95{ 95{
96 unsigned long v, s, mapped; 96 unsigned long v, s, mapped;
97 phys_addr_t p; 97 phys_addr_t p;
diff --git a/arch/powerpc/mm/44x_mmu.c b/arch/powerpc/mm/44x_mmu.c
index 98052ac96580..3986264b0993 100644
--- a/arch/powerpc/mm/44x_mmu.c
+++ b/arch/powerpc/mm/44x_mmu.c
@@ -88,7 +88,7 @@ void __init MMU_init_hw(void)
88 flush_instruction_cache(); 88 flush_instruction_cache();
89} 89}
90 90
91unsigned long __init mmu_mapin_ram(void) 91unsigned long __init mmu_mapin_ram(unsigned long top)
92{ 92{
93 unsigned long addr; 93 unsigned long addr;
94 94
diff --git a/arch/powerpc/mm/fsl_booke_mmu.c b/arch/powerpc/mm/fsl_booke_mmu.c
index dc93e95b256e..6da4b9087b3f 100644
--- a/arch/powerpc/mm/fsl_booke_mmu.c
+++ b/arch/powerpc/mm/fsl_booke_mmu.c
@@ -156,7 +156,7 @@ void invalidate_tlbcam_entry(int index)
156 loadcam_entry(index); 156 loadcam_entry(index);
157} 157}
158 158
159unsigned long __init mmu_mapin_ram(void) 159unsigned long __init mmu_mapin_ram(unsigned long top)
160{ 160{
161 unsigned long virt = PAGE_OFFSET; 161 unsigned long virt = PAGE_OFFSET;
162 phys_addr_t phys = memstart_addr; 162 phys_addr_t phys = memstart_addr;
diff --git a/arch/powerpc/mm/mmu_decl.h b/arch/powerpc/mm/mmu_decl.h
index 34dacc32250d..06f708c38f1b 100644
--- a/arch/powerpc/mm/mmu_decl.h
+++ b/arch/powerpc/mm/mmu_decl.h
@@ -150,15 +150,15 @@ extern void wii_memory_fixups(void);
150 */ 150 */
151#if defined(CONFIG_8xx) 151#if defined(CONFIG_8xx)
152#define MMU_init_hw() do { } while(0) 152#define MMU_init_hw() do { } while(0)
153#define mmu_mapin_ram() (0UL) 153#define mmu_mapin_ram(top) (0UL)
154 154
155#elif defined(CONFIG_4xx) 155#elif defined(CONFIG_4xx)
156extern void MMU_init_hw(void); 156extern void MMU_init_hw(void);
157extern unsigned long mmu_mapin_ram(void); 157extern unsigned long mmu_mapin_ram(unsigned long top);
158 158
159#elif defined(CONFIG_FSL_BOOKE) 159#elif defined(CONFIG_FSL_BOOKE)
160extern void MMU_init_hw(void); 160extern void MMU_init_hw(void);
161extern unsigned long mmu_mapin_ram(void); 161extern unsigned long mmu_mapin_ram(unsigned long top);
162extern void adjust_total_lowmem(void); 162extern void adjust_total_lowmem(void);
163 163
164#elif defined(CONFIG_PPC32) 164#elif defined(CONFIG_PPC32)