diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2015-10-08 20:02:03 +0100 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2015-10-12 16:19:45 +0100 |
commit | 207918461eb0aca720fddec5da79bc71c133b9f1 (patch) | |
tree | 3e6133bef93e5ed5e0610ca6f536b23e97d0b736 /arch/arm64/lib/strlen.S | |
parent | d4dddfdbbc75f46d2cbab4e9f421999452617d64 (diff) | |
download | lwn-207918461eb0aca720fddec5da79bc71c133b9f1.tar.gz lwn-207918461eb0aca720fddec5da79bc71c133b9f1.zip |
arm64: use ENDPIPROC() to annotate position independent assembler routines
For more control over which functions are called with the MMU off or
with the UEFI 1:1 mapping active, annotate some assembler routines as
position independent. This is done by introducing ENDPIPROC(), which
replaces the ENDPROC() declaration of those routines.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/lib/strlen.S')
-rw-r--r-- | arch/arm64/lib/strlen.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/lib/strlen.S b/arch/arm64/lib/strlen.S index 987b68b9ce44..55ccc8e24c08 100644 --- a/arch/arm64/lib/strlen.S +++ b/arch/arm64/lib/strlen.S @@ -123,4 +123,4 @@ CPU_LE( lsr tmp2, tmp2, tmp1 ) /* Shift (tmp1 & 63). */ csinv data1, data1, xzr, le csel data2, data2, data2a, le b .Lrealigned -ENDPROC(strlen) +ENDPIPROC(strlen) |