mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
Tidy up open coded relative references in asm
Use the newly introduced adr_l/ldr_l/str_l/mov_l assembler macros to replace open coded VA-to-PA arithmetic in various places in the code. This avoids the use of literals on v7+ CPUs, reduces the footprint of the code in most cases, and generally makes the code easier to follow. Series was posted here, and reviewed by Nicolas Pitre: https://lore.kernel.org/linux-arm-kernel/20200914095706.3985-1-ardb@kernel.org/ -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEnNKg2mrY9zMBdeK7wjcgfpV0+n0FAl+Zl5MACgkQwjcgfpV0 +n15IwgAh6EYZm6N9RlGK2kWzFKDpv1re3q4E2OU/zj5Hnf5BUicru8DqiTDq8+l s0KkUs9Npm0F6LanKjUimQyg7EcFCEmd03kd7B71gCa0KFtCFrzGg784z6pn2aK/ PmSzDOt2fZ1YIdykQ7C6jCLStMTXTrb7WZLNkNIcU8QQQzC6XTa0ljGPERybjb3W cIuM8kDom8hX+gm0J320KTLA15COUIMVGmy2mjeYLiEMoJkp+YBEElE759oPFCtI 1LePTIXZRBkQ6qpNV0CBrHpcercPD+WBKYOfQkuraJob+8DRoy9fy01Lof3Cl4Rp Qr5IlwkXGE75cnCOoQ9P1aOh8E2gQw== =F+SN -----END PGP SIGNATURE----- Merge tag 'arm-adrl-replacement-for-v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux into devel-stable Tidy up open coded relative references in asm Use the newly introduced adr_l/ldr_l/str_l/mov_l assembler macros to replace open coded VA-to-PA arithmetic in various places in the code. This avoids the use of literals on v7+ CPUs, reduces the footprint of the code in most cases, and generally makes the code easier to follow. Series was posted here, and reviewed by Nicolas Pitre: https://lore.kernel.org/linux-arm-kernel/20200914095706.3985-1-ardb@kernel.org/
This commit is contained in:
commit
2c736bb408
7 changed files with 44 additions and 111 deletions
Loading…
Add table
Add a link
Reference in a new issue