diff options
author | Mark Rutland <[email protected]> | 2017-01-17 16:10:56 +0000 |
---|---|---|
committer | Will Deacon <[email protected]> | 2017-01-17 17:41:02 +0000 |
commit | 9bb003600ed9aabfe33b7330fa7e93acf959e8df (patch) | |
tree | 3e2c603059538735974b8faa9574054c3d1776a5 /include/linux/fpga/fpga-mgr.h | |
parent | 9a802431c527f0ef860399f066a9793794cac17b (diff) |
arm64: head.S: avoid open-coded adr_l
Some places in the kernel open-code sequences using ADRP for a symbol
another instruction using a :lo12: relocation for that same symbol.
These sequences are easy to get wrong, and more painful to read than is
necessary. For these reasons, it is preferable to use the
{adr,ldr,str}_l macros for these cases.
This patch makes use of adr_l these in head.S, removing an open-coded
sequence using adrp.
Signed-off-by: Mark Rutland <[email protected]>
Reviewed-by: Ard Biesheuvel <[email protected]>
Cc: Catalin Marinas <[email protected]>
Cc: Marc Zyngier <[email protected]>
Cc: Will Deacon <[email protected]>
Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions