commit | e25781e3dea914cc4c34c946bae5fa3d4516516f | [log] [tgz] |
---|---|---|
author | Mark Rutland <mark.rutland@arm.com> | Mon Oct 19 14:19:33 2015 +0100 |
committer | Catalin Marinas <catalin.marinas@arm.com> | Mon Oct 19 17:54:07 2015 +0100 |
tree | 0d2f07adc990e65421b6e697c465f68b6370c468 | |
parent | 755e70b7e3f189aa2503c510fb98208e477a5030 [diff] |
arm64: Simplify NR_FIX_BTMAPS calculation We choose NR_FIX_BTMAPS such that each slot (NR_FIX_BTMAPS * PAGE_SIZE) can address 256K. Use division to derive NR_FIX_BTMAPS rather than defining it for each page size. Signed-off-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Suzuki K. Poulose <suzuki.poulose@arm.com> Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>