aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/mm/fsl_booke_mmu.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/mm/fsl_booke_mmu.c')
-rw-r--r--arch/powerpc/mm/fsl_booke_mmu.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/powerpc/mm/fsl_booke_mmu.c b/arch/powerpc/mm/fsl_booke_mmu.c
index 0be8fe24c54e..cde270847e7c 100644
--- a/arch/powerpc/mm/fsl_booke_mmu.c
+++ b/arch/powerpc/mm/fsl_booke_mmu.c
@@ -105,9 +105,10 @@ unsigned long p_mapped_by_tlbcam(phys_addr_t pa)
105} 105}
106 106
107/* 107/*
108 * Set up one of the I/D BAT (block address translation) register pairs. 108 * Set up a variable-size TLB entry (tlbcam). The parameters are not checked;
109 * The parameters are not checked; in particular size must be a power 109 * in particular size must be a power of 4 between 4k and 256M (or 1G, for cpus
110 * of 4 between 4k and 256M. 110 * that support extended page sizes). Note that while some cpus support a
111 * page size of 4G, we don't allow its use here.
111 */ 112 */
112static void settlbcam(int index, unsigned long virt, phys_addr_t phys, 113static void settlbcam(int index, unsigned long virt, phys_addr_t phys,
113 unsigned long size, unsigned long flags, unsigned int pid) 114 unsigned long size, unsigned long flags, unsigned int pid)