ARM: implement get_tls syscall
authorNicolas Pitre <nicolas.pitre@linaro.org>
Fri, 28 Jul 2017 19:35:35 +0000 (15:35 -0400)
committerNicolas Pitre <nicolas.pitre@linaro.org>
Sun, 10 Sep 2017 23:31:46 +0000 (19:31 -0400)
commit8fcd6c45f5a65621ec809b7866a3623e9a01d4ed
tree2e6eea80b386c293d20e5bb813b8b70bff78baf1
parent569dbb88e80deb68974ef6fdd6a13edb9d686261
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>
arch/arm/include/uapi/asm/unistd.h
arch/arm/kernel/traps.c