diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2020-09-20 19:19:32 +0200 |
---|---|---|
committer | Ard Biesheuvel <ardb@kernel.org> | 2020-10-28 16:59:43 +0100 |
commit | 0e3db6c9d7f6fd0ee263325027e8d3fdac5a4c9e (patch) | |
tree | 943da8e12749904d3d7c15cd460bfa5c62dbc3ed /scripts/selinux | |
parent | ARM: p2v: use relative references in patch site arrays (diff) | |
download | linux-dev-0e3db6c9d7f6fd0ee263325027e8d3fdac5a4c9e.tar.xz linux-dev-0e3db6c9d7f6fd0ee263325027e8d3fdac5a4c9e.zip |
ARM: p2v: simplify __fixup_pv_table()
Declutter the code in __fixup_pv_table() by using the new adr_l/str_l
macros to take PC relative references to external symbols, and by
using the value of PHYS_OFFSET passed in r8 to calculate the p2v
offset.
Acked-by: Nicolas Pitre <nico@fluxnic.net>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'scripts/selinux')
0 files changed, 0 insertions, 0 deletions