patch-2.1.96 linux/include/linux/sched.h

Next file: linux/include/linux/socket.h
Previous file: linux/include/linux/pci.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.95/linux/include/linux/sched.h linux/include/linux/sched.h
@@ -168,6 +168,11 @@
 	unsigned long rss, total_vm, locked_vm;
 	unsigned long def_flags;
 	unsigned long cpu_vm_mask;
+	/*
+	 * This is an architecture-specific pointer: the portable
+	 * part of Linux does not know about any segments.
+	 */
+	void * segments;
 };
 
 #define INIT_MM {					\
@@ -178,7 +183,7 @@
 		0, 0, 0, 				\
 		0, 0, 0, 0,				\
 		0, 0, 0,				\
-		0, 0 }
+		0, 0, NULL }
 
 struct signal_struct {
 	atomic_t		count;
@@ -267,8 +272,6 @@
 /* ipc stuff */
 	struct sem_undo *semundo;
 	struct sem_queue *semsleeping;
-/* ldt for this task - used by Wine.  If NULL, default_ldt is used */
-	struct desc_struct *ldt;
 /* tss for this task */
 	struct thread_struct tss;
 /* filesystem information */
@@ -357,7 +360,6 @@
 /* comm */	"swapper", \
 /* fs info */	0,NULL, \
 /* ipc */	NULL, NULL, \
-/* ldt */	NULL, \
 /* tss */	INIT_TSS, \
 /* fs */	&init_fs, \
 /* files */	&init_files, \

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov