]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: kernel: drop use of x24 from primary boot path
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 31 Aug 2016 11:05:15 +0000 (12:05 +0100)
committerWill Deacon <will.deacon@arm.com>
Fri, 2 Sep 2016 10:47:51 +0000 (11:47 +0100)
commiteda3368a87b50dd4865c85e5b1b5b40f529526a2
tree32bc17cf1db2da58f61392d5f17e76dbf058624e
parent1d533fb7d996cc4f29c36572f8429a49426af68f
arm64: kernel: drop use of x24 from primary boot path

Keeping __PHYS_OFFSET in x24 is actually less clear than simply taking
the value of __PHYS_OFFSET using an adrp instruction in the three places
that we need it. So change that.

Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/head.S