patch-2.4.2 linux/include/asm-cris/segment.h

Next file: linux/include/asm-cris/semaphore-helper.h
Previous file: linux/include/asm-cris/rtc.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.1/linux/include/asm-cris/segment.h linux/include/asm-cris/segment.h
@@ -0,0 +1,16 @@
+#ifndef _ASM_SEGMENT_H
+#define _ASM_SEGMENT_H
+
+/* argh. really legacy. totally misnomed. */
+
+#define __KERNEL_CS	0x10
+#define __KERNEL_DS	0x18
+
+#define __USER_CS	0x23
+#define __USER_DS	0x2B
+
+typedef struct {
+  unsigned long seg;
+} mm_segment_t;
+
+#endif

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)