aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/mmu_decl.h
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2009-12-14 11:04:24 -0500
committerGrant Likely <grant.likely@secretlab.ca>2009-12-14 11:04:24 -0500
commitae4cec4736969ec2196a6bbce4ab263ff7cb7eef (patch)
tree23ba5a6155ff43e51b32f9feb1378dc9d3fe2352 /arch/powerpc/mm/mmu_decl.h
parentc0577eeee0101433a0d929699f4543a1ff3c3014 (diff)
powerpc: fix up for mmu_mapin_ram api change
Today's linux-next build (powerpc ppc44x_defconfig) failed like this: arch/powerpc/mm/pgtable_32.c: In function 'mapin_ram': arch/powerpc/mm/pgtable_32.c:318: error: too many arguments to function 'mmu_mapin_ram' Casued by commit de32400dd26e743c5d500aa42d8d6818b79edb73 ("wii: use both mem1 and mem2 as ram"). Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'arch/powerpc/mm/mmu_decl.h')
-rw-r--r--arch/powerpc/mm/mmu_decl.h6
1 files changed, 3 insertions, 3 deletions
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)