[PATCH 1/2] powerpc/fsl-booke: Allow use of all CAMs

2013-10-08 Thread Aaron Sierra
CONFIG_LOWMEM_CAM_NUM was unnecessarily restricted to one fewer than NUM_TLBCAMS. However, all comparisons to CONFIG_LOWMEM_CAM_NUM are "less than" tests, so comparing 0-based CAM indexes to the maximum number of CAMs is safe. Signed-off-by: Aaron Sierra --- arch/powerpc/mm/fsl_booke_mmu.c |

[PATCH 1/2] powerpc/fsl-booke: Allow use of all CAMs

2013-10-08 Thread Aaron Sierra
CONFIG_LOWMEM_CAM_NUM was unnecessarily restricted to one fewer than NUM_TLBCAMS. However, all comparisons to CONFIG_LOWMEM_CAM_NUM are less than tests, so comparing 0-based CAM indexes to the maximum number of CAMs is safe. Signed-off-by: Aaron Sierra asie...@xes-inc.com ---