summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
Diffstat (limited to 'linux')
-rw-r--r--linux/src/include/asm-i386/segment.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/linux/src/include/asm-i386/segment.h b/linux/src/include/asm-i386/segment.h
index 300ba53..5f8af99 100644
--- a/linux/src/include/asm-i386/segment.h
+++ b/linux/src/include/asm-i386/segment.h
@@ -3,16 +3,8 @@
#ifdef MACH
-#ifdef MACH_HYP
-#define KERNEL_CS 0x09
-#define KERNEL_DS 0x11
-#else /* MACH_HYP */
-#define KERNEL_CS 0x08
-#define KERNEL_DS 0x10
-#endif /* MACH_HYP */
-
-#define USER_CS 0x17
-#define USER_DS 0x1F
+#include <machine/gdt.h>
+#include <machine/ldt.h>
#else /* !MACH */