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

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

diff -u --recursive --new-file v1.3.23/linux/include/linux/sched.h linux/include/linux/sched.h
@@ -19,6 +19,7 @@
 #include <linux/tasks.h>
 #include <linux/kernel.h>
 #include <asm/system.h>
+#include <asm/page.h>
 
 /*
  * These are the constant used to fake the fixed-point load-average
@@ -114,6 +115,7 @@
 
 struct mm_struct {
 	int count;
+	pgd_t * pgd;
 	unsigned long start_code, end_code, start_data, end_data;
 	unsigned long start_brk, brk, start_stack, start_mmap;
 	unsigned long arg_start, arg_end, env_start, env_end;
@@ -130,6 +132,7 @@
 
 #define INIT_MM { \
 		1, \
+		swapper_pg_dir, \
 		0, 0, 0, 0, \
 		0, 0, 0, 0, \
 		0, 0, 0, 0, \
@@ -261,6 +264,7 @@
 
 #ifdef __KERNEL__
 
+extern struct   mm_struct init_mm;
 extern struct task_struct init_task;
 extern struct task_struct *task[NR_TASKS];
 extern struct task_struct *last_task_used_math;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this