[PATCH] x86-64: Enable x32 set_thread_area

From: H.J. Lu
Date: Sat Aug 15 2020 - 18:03:10 EST


X32 uses the common 64-bit syscall interface for set_thread_area. Tested
with tools/testing/selftests/x86/sigreturn.c on x32.

Signed-off-by: H.J. Lu <hjl.tools@xxxxxxxxx>
---
arch/x86/entry/syscalls/syscall_64.tbl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/x86/entry/syscalls/syscall_64.tbl b/arch/x86/entry/syscalls/syscall_64.tbl
index 37b844f839bc..670193a73f6e 100644
--- a/arch/x86/entry/syscalls/syscall_64.tbl
+++ b/arch/x86/entry/syscalls/syscall_64.tbl
@@ -213,7 +213,7 @@
202 common futex sys_futex
203 common sched_setaffinity sys_sched_setaffinity
204 common sched_getaffinity sys_sched_getaffinity
-205 64 set_thread_area
+205 common set_thread_area
206 64 io_setup sys_io_setup
207 common io_destroy sys_io_destroy
208 common io_getevents sys_io_getevents
--
2.26.2