summaryrefslogtreecommitdiff
path: root/src/thread/x86_64/__set_thread_area.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/thread/x86_64/__set_thread_area.s')
-rw-r--r--src/thread/x86_64/__set_thread_area.s1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/thread/x86_64/__set_thread_area.s b/src/thread/x86_64/__set_thread_area.s
index 75f19a86..99c5356a 100644
--- a/src/thread/x86_64/__set_thread_area.s
+++ b/src/thread/x86_64/__set_thread_area.s
@@ -1,6 +1,7 @@
/* Copyright 2011 Nicholas J. Kain, licensed GNU LGPL 2.1 or later */
.text
.global __set_thread_area
+.type __set_thread_area,@function
__set_thread_area:
mov %rdi,%rsi /* shift for syscall */
movl $0x1002,%edi /* SET_FS register */