aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel
diff options
context:
space:
mode:
authorJosh Boyer <jwboyer@linux.vnet.ibm.com>2007-08-20 08:28:48 -0400
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>2007-08-20 08:28:48 -0400
commit4d922c8dc332f4c7bc156fa832187661d4899cee (patch)
treed123df4223b040d0c361c5e8a02d349523bc8c6c /arch/powerpc/kernel
parente90f3b74d884d0f2826e06dbab4f615ca346eaa4 (diff)
[POWERPC] 40x MMU
Add MMU definitions for 40x platforms. Also fixes two warnings in 40x_mmu.c. Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com> Acked-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'arch/powerpc/kernel')
-rw-r--r--arch/powerpc/kernel/head_40x.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/head_40x.S b/arch/powerpc/kernel/head_40x.S
index adc7f8097cd4..fe8afb60290e 100644
--- a/arch/powerpc/kernel/head_40x.S
+++ b/arch/powerpc/kernel/head_40x.S
@@ -772,7 +772,7 @@ finish_tlb_load:
772 */ 772 */
773 lwz r9, tlb_4xx_index@l(0) 773 lwz r9, tlb_4xx_index@l(0)
774 addi r9, r9, 1 774 addi r9, r9, 1
775 andi. r9, r9, (PPC4XX_TLB_SIZE-1) 775 andi. r9, r9, (PPC40X_TLB_SIZE-1)
776 stw r9, tlb_4xx_index@l(0) 776 stw r9, tlb_4xx_index@l(0)
777 777
7786: 7786: