diff options
author | Matt Porter <mporter@embeddedalley.com> | 2006-08-04 12:44:01 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-08-08 03:07:08 -0400 |
commit | 452b5e21216011f2f068e80443568f5f3f3f4d63 (patch) | |
tree | 0421f30b448e8fa0788665002965e3d10f265745 /arch/powerpc | |
parent | f4dddce57c105c447c566be52c3d210dec570a27 (diff) |
[POWERPC] Fix powerpc 44x_mmu build
The PIN_SIZE definition name changed, update 44x_mmu.c accordingly.
Signed-off-by: Matt Porter <mporter@embeddedalley.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/mm/44x_mmu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/mm/44x_mmu.c b/arch/powerpc/mm/44x_mmu.c index 376829ed2211..0a0a0487b334 100644 --- a/arch/powerpc/mm/44x_mmu.c +++ b/arch/powerpc/mm/44x_mmu.c | |||
@@ -103,7 +103,7 @@ unsigned long __init mmu_mapin_ram(void) | |||
103 | 103 | ||
104 | /* Determine number of entries necessary to cover lowmem */ | 104 | /* Determine number of entries necessary to cover lowmem */ |
105 | pinned_tlbs = (unsigned int) | 105 | pinned_tlbs = (unsigned int) |
106 | (_ALIGN(total_lowmem, PPC44x_PIN_SIZE) >> PPC44x_PIN_SHIFT); | 106 | (_ALIGN(total_lowmem, PPC_PIN_SIZE) >> PPC44x_PIN_SHIFT); |
107 | 107 | ||
108 | /* Write upper watermark to save location */ | 108 | /* Write upper watermark to save location */ |
109 | tlb_44x_hwater = PPC44x_LOW_SLOT - pinned_tlbs; | 109 | tlb_44x_hwater = PPC44x_LOW_SLOT - pinned_tlbs; |
@@ -111,7 +111,7 @@ unsigned long __init mmu_mapin_ram(void) | |||
111 | /* If necessary, set additional pinned TLBs */ | 111 | /* If necessary, set additional pinned TLBs */ |
112 | if (pinned_tlbs > 1) | 112 | if (pinned_tlbs > 1) |
113 | for (i = (PPC44x_LOW_SLOT-(pinned_tlbs-1)); i < PPC44x_LOW_SLOT; i++) { | 113 | for (i = (PPC44x_LOW_SLOT-(pinned_tlbs-1)); i < PPC44x_LOW_SLOT; i++) { |
114 | unsigned int phys_addr = (PPC44x_LOW_SLOT-i) * PPC44x_PIN_SIZE; | 114 | unsigned int phys_addr = (PPC44x_LOW_SLOT-i) * PPC_PIN_SIZE; |
115 | ppc44x_pin_tlb(i, phys_addr+PAGE_OFFSET, phys_addr); | 115 | ppc44x_pin_tlb(i, phys_addr+PAGE_OFFSET, phys_addr); |
116 | } | 116 | } |
117 | 117 | ||