diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2015-03-04 19:45:38 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2015-03-19 20:46:01 +0100 |
commit | b784a5d97d0af4835dd0125a3e0e5d0fd48128d6 (patch) | |
tree | ce43b950581eef534c087c024e9ba07b55cbc42f /arch/arm64/kernel/setup.c | |
parent | arm64: Get rid of struct cpu_table (diff) | |
download | linux-b784a5d97d0af4835dd0125a3e0e5d0fd48128d6.tar.xz linux-b784a5d97d0af4835dd0125a3e0e5d0fd48128d6.zip |
arm64: add macros for common adrp usages
The adrp instruction is mostly used in combination with either
an add, a ldr or a str instruction with the low bits of the
referenced symbol in the 12-bit immediate of the followup
instruction.
Introduce the macros adr_l, ldr_l and str_l that encapsulate
these common patterns.
Tested-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/kernel/setup.c')
0 files changed, 0 insertions, 0 deletions