diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2022-06-24 17:06:43 +0200 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2022-06-24 17:18:10 +0100 |
commit | d7bea550279db28cd154fd54843ebc858ffdf0b7 (patch) | |
tree | bbfb345ddc377ca5a003cf0b68c966eefc5211c2 /net/wireless/ethtool.c | |
parent | c3cee924bd855184d15bc4aa6088dcf8e2c1394c (diff) | |
download | linux-d7bea550279db28cd154fd54843ebc858ffdf0b7.tar.bz2 |
arm64: head: use relative references to the RELA and RELR tables
Formerly, we had to access the RELA and RELR tables via the kernel
mapping that was being relocated, and so deriving the start and end
addresses using ADRP/ADD references was not possible, as the relocation
code runs from the ID map.
Now that we map the entire kernel image via the ID map, we can simplify
this, and just load the entries via the ID map as well.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20220624150651.1358849-14-ardb@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'net/wireless/ethtool.c')
0 files changed, 0 insertions, 0 deletions