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
-  Lines: 17
-  Date:
Thu Feb  8 16:32:44 2001
-  Orig file: 
v2.4.1/linux/include/asm-cris/segment.h
-  Orig date: 
Wed Dec 31 16:00:00 1969
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)