]> Pileus Git - ~andy/linux/commit
ARM: LPAE: factor out T1SZ and TTBR1 computations
authorCyril Chemparathy <cyril@ti.com>
Sat, 21 Jul 2012 23:47:52 +0000 (19:47 -0400)
committerWill Deacon <will.deacon@arm.com>
Thu, 30 May 2013 15:02:11 +0000 (16:02 +0100)
commita7fbc0d62a4d46e642af889e7288fede5078bc46
tree5ca6452ed4dd9f9e2b89441d829d5cd3fad4ed80
parent1fc84ae84b5153e32a4b6ace507f9663e10b0cb2
ARM: LPAE: factor out T1SZ and TTBR1 computations

This patch moves the TTBR1 offset calculation and the T1SZ calculation out
of the TTB setup assembly code.  This should not affect functionality in
any way, but improves code readability as well as readability of subsequent
patches in this series.

Signed-off-by: Cyril Chemparathy <cyril@ti.com>
Signed-off-by: Vitaly Andrianov <vitalya@ti.com>
Acked-by: Nicolas Pitre <nico@linaro.org>
Tested-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Tested-by: Subash Patel <subash.rp@samsung.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm/include/asm/pgtable-3level-hwdef.h
arch/arm/mm/proc-v7-3level.S