summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/reservations.h
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2016-04-18 17:09:42 +0200
committerWill Deacon <will.deacon@arm.com>2016-04-26 12:19:55 +0100
commite5ebeec879b726c755af0c1c15f3699b53268cd5 (patch)
treee33413661d6ed1909e2331a3930a20d2d66528dd /fs/ocfs2/reservations.h
parent190c056fc32a528979807cb5d5a0d68285933073 (diff)
downloadtalos-op-linux-e5ebeec879b726c755af0c1c15f3699b53268cd5.tar.gz
talos-op-linux-e5ebeec879b726c755af0c1c15f3699b53268cd5.zip
arm64: kernel: use literal for relocated address of __secondary_switched
We can simply use a relocated 64-bit literal to store the address of __secondary_switched(), and the relocation code will ensure that it holds the correct value at secondary entry time, as long as we make sure that the literal is not dereferenced until after we have enabled the MMU. So jump via a small __secondary_switch() function covered by the ID map that performs the literal load and branch-to-register. Acked-by: Catalin Marinas <catalin.marinas@arm.com> Acked-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>
Diffstat (limited to 'fs/ocfs2/reservations.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud