summaryrefslogtreecommitdiffstats
path: root/mm/util.c
diff options
context:
space:
mode:
authorSuzuki K Poulose <suzuki.poulose@arm.com>2016-09-09 14:07:13 +0100
committerWill Deacon <will.deacon@arm.com>2016-09-09 15:03:28 +0100
commitc831b2ae257853ecd36ea4f7d788bf0665e4cf89 (patch)
treee00da72bef46c833390c94483c9d22714a6d1ded /mm/util.c
parent46084bc253e1acdd6c47846e91fc20f4ab4f1fec (diff)
downloadblackbird-op-linux-c831b2ae257853ecd36ea4f7d788bf0665e4cf89.tar.gz
blackbird-op-linux-c831b2ae257853ecd36ea4f7d788bf0665e4cf89.zip
arm64: alternative: Add support for patching adrp instructions
adrp uses PC-relative address offset to a page (of 4K size) of a symbol. If it appears in an alternative code patched in, we should adjust the offset to reflect the address where it will be run from. This patch adds support for fixing the offset for adrp instructions. Cc: Will Deacon <will.deacon@arm.com> Cc: Marc Zyngier <marc.zyngier@arm.com> Cc: Andre Przywara <andre.przywara@arm.com> Cc: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Suzuki K Poulose <suzuki.poulose@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'mm/util.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud