aboutsummaryrefslogtreecommitdiff
path: root/arch/um/include/sysdep-i386/tls.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/include/sysdep-i386/tls.h')
-rw-r--r--arch/um/include/sysdep-i386/tls.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/um/include/sysdep-i386/tls.h b/arch/um/include/sysdep-i386/tls.h
index 938f953b26c..918fd3c5ff9 100644
--- a/arch/um/include/sysdep-i386/tls.h
+++ b/arch/um/include/sysdep-i386/tls.h
@@ -25,4 +25,8 @@ typedef struct um_dup_user_desc {
typedef struct user_desc user_desc_t;
# endif /* __KERNEL__ */
+
+#define GDT_ENTRY_TLS_MIN_I386 6
+#define GDT_ENTRY_TLS_MIN_X86_64 12
+
#endif /* _SYSDEP_TLS_H */