summaryrefslogtreecommitdiff
path: root/arch/arm64/lib/memchr.S
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2015-10-08 19:02:03 (GMT)
committerCatalin Marinas <catalin.marinas@arm.com>2015-10-12 15:19:45 (GMT)
commit207918461eb0aca720fddec5da79bc71c133b9f1 (patch)
tree3e6133bef93e5ed5e0610ca6f536b23e97d0b736 /arch/arm64/lib/memchr.S
parentd4dddfdbbc75f46d2cbab4e9f421999452617d64 (diff)
downloadlinux-207918461eb0aca720fddec5da79bc71c133b9f1.tar.xz
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/memchr.S')
-rw-r--r--arch/arm64/lib/memchr.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/lib/memchr.S b/arch/arm64/lib/memchr.S
index 8636b75..4444c1d 100644
--- a/arch/arm64/lib/memchr.S
+++ b/arch/arm64/lib/memchr.S
@@ -41,4 +41,4 @@ ENTRY(memchr)
ret
2: mov x0, #0
ret
-ENDPROC(memchr)
+ENDPIPROC(memchr)