arm64: ftrace: eliminate literal pool entries
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 7 Nov 2014 14:12:33 +0000 (14:12 +0000)
committerWill Deacon <will.deacon@arm.com>
Fri, 7 Nov 2014 15:04:49 +0000 (15:04 +0000)
commitf1ba46ee787d0a880f884f401031315b0a777f25
tree10919416848d1b6313dc4a2d9f050f90bd8ce989
parent80708677fab44a1489a089e162455dfb4dd722cd
arm64: ftrace: eliminate literal pool entries

Replace ldr xN, =<symbol> with adrp/add or adrp/ldr [as appropriate]
in the implementation of _mcount(), which may be called very often.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/entry-ftrace.S