diff options
author | Christoph Muellner <christoph.muellner@theobroma-systems.com> | 2019-02-22 18:01:59 +0100 |
---|---|---|
committer | Christoph Muellner <christoph.muellner@theobroma-systems.com> | 2019-02-25 19:05:50 +0100 |
commit | cd70cc560c99d814e0d10e1198cac7a91c124821 (patch) | |
tree | 73692cb615866343185631c1b73910d80eb2a442 /net | |
parent | 62a90a2a28fe84b662ccbc26da110cfc09c82659 (diff) |
arm64: Allow reference symbols in alt-seqs to be in kernel-data.linux-4.16.12-amp
When patching-in alternative sequences during bootup, we copy
the alt-seq instructions to one or more target locations.
This relocation requires a fixup of references to symbols,
if they are outside of the alt-seq.
The decision if a fixup is required is implemented in the function
branch_insn_requires_update(), which checks if the given address
is in kernel-text (e.g. functions).
This patch renames the function to address_needs_relocation_fixup()
and also supports symbols in kernel-data (e.g. global variables).
This allows adrp to address such symbols, which is required for
e.g. ARM64_MISMATCHED_CACHE_LINE_SIZE.
Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions