patch-2.1.52 linux/include/linux/sched.h
Next file: linux/include/linux/smb.h
Previous file: linux/include/linux/parport.h
Back to the patch index
Back to the overall index
- Lines: 17
- Date:
Mon Sep 1 12:43:13 1997
- Orig file:
v2.1.51/linux/include/linux/sched.h
- Orig date:
Mon Aug 4 16:25:40 1997
diff -u --recursive --new-file v2.1.51/linux/include/linux/sched.h linux/include/linux/sched.h
@@ -471,6 +471,16 @@
return 0;
}
+/*
+ * Routines for handling mm_structs
+ */
+extern struct mm_struct * mm_alloc(void);
+static inline void mmget(struct mm_struct * mm)
+{
+ mm->count++;
+}
+extern void mmput(struct mm_struct *);
+
extern int copy_thread(int, unsigned long, unsigned long, struct task_struct *, struct pt_regs *);
extern void flush_thread(void);
extern void exit_thread(void);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov