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 |
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
---
2 matches
Mail list logo