summaryrefslogtreecommitdiffstats
path: root/arch/arm64/lib/memchr.S
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2015-10-08 21:02:03 +0200
committerCatalin Marinas <catalin.marinas@arm.com>2015-10-12 17:19:45 +0200
commit207918461eb0aca720fddec5da79bc71c133b9f1 (patch)
tree3e6133bef93e5ed5e0610ca6f536b23e97d0b736 /arch/arm64/lib/memchr.S
parentarm64/efi: remove /chosen/linux, uefi-stub-kern-ver DT property (diff)
downloadlinux-207918461eb0aca720fddec5da79bc71c133b9f1.tar.xz
linux-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/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 8636b7549163..4444c1d25f4b 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)