summaryrefslogtreecommitdiff
path: root/i386/i386/ldt.h
diff options
context:
space:
mode:
Diffstat (limited to 'i386/i386/ldt.h')
-rw-r--r--i386/i386/ldt.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/i386/i386/ldt.h b/i386/i386/ldt.h
index f196c74b..81c49782 100644
--- a/i386/i386/ldt.h
+++ b/i386/i386/ldt.h
@@ -43,6 +43,9 @@
* User descriptors for Mach - 32-bit flat address space
*/
#define USER_SCALL 0x07 /* system call gate */
+#ifdef __x86_64__
+/* Call gate needs two entries */
+#endif
#define USER_CS 0x17 /* user code segment */
#define USER_DS 0x1f /* user data segment */