OSDN Git Service

arm64: mm: use ubfm for dcache_line_size
authorJingoo Han <jg1.han@samsung.com>
Mon, 20 Jan 2014 05:00:21 +0000 (05:00 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 22 Jan 2014 16:23:58 +0000 (16:23 +0000)
commitbd5f6dc304a054ccdc8dab43bef5e41d9a575b61
tree9ebc7702dc516cb52a8ec85ee5ae6ebb222cf021
parent883c057367014d20a14b5054e4eb0d81ce3bea5c
arm64: mm: use ubfm for dcache_line_size

Use 'ubfm' for the bitfield move instruction; thus, single
instruction can be used instead of two instructions, when
getting the minimum D-cache line size from CTR_EL0 register.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/mm/proc-macros.S