summaryrefslogtreecommitdiff
path: root/arch/arm/include/uapi/asm/unistd.h
diff options
context:
space:
mode:
authorNicolas Pitre <nicolas.pitre@linaro.org>2017-07-28 22:35:35 +0300
committerNicolas Pitre <nicolas.pitre@linaro.org>2017-09-11 02:31:46 +0300
commit8fcd6c45f5a65621ec809b7866a3623e9a01d4ed (patch)
tree2e6eea80b386c293d20e5bb813b8b70bff78baf1 /arch/arm/include/uapi/asm/unistd.h
parent569dbb88e80deb68974ef6fdd6a13edb9d686261 (diff)
downloadlinux-8fcd6c45f5a65621ec809b7866a3623e9a01d4ed.tar.xz
ARM: implement get_tls syscall
When there is no dedicated register to hold the tp value and no MMU to provide a fixed address kuser helper entry point, all that is left as fallback is a syscall. Signed-off-by: Nicolas Pitre <nico@linaro.org> Acked-by: Mickael GUENE <mickael.guene@st.com> Tested-by: Vincent Abriou <vincent.abriou@st.com> Tested-by: Andras Szemzo <szemzo.andras@gmail.com>
Diffstat (limited to 'arch/arm/include/uapi/asm/unistd.h')
-rw-r--r--arch/arm/include/uapi/asm/unistd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/uapi/asm/unistd.h b/arch/arm/include/uapi/asm/unistd.h
index 28bd456494a3..575b25fc29c6 100644
--- a/arch/arm/include/uapi/asm/unistd.h
+++ b/arch/arm/include/uapi/asm/unistd.h
@@ -35,5 +35,6 @@
#define __ARM_NR_usr26 (__ARM_NR_BASE+3)
#define __ARM_NR_usr32 (__ARM_NR_BASE+4)
#define __ARM_NR_set_tls (__ARM_NR_BASE+5)
+#define __ARM_NR_get_tls (__ARM_NR_BASE+6)
#endif /* _UAPI__ASM_ARM_UNISTD_H */