patch-1.3.57 linux/kernel/exit.c

Next file: linux/kernel/info.c
Previous file: linux/kernel/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.56/linux/kernel/exit.c linux/kernel/exit.c
@@ -18,6 +18,7 @@
 
 #include <asm/segment.h>
 extern void sem_exit (void);
+extern void kerneld_exit(void);
 
 int getrusage(struct task_struct *, int, struct rusage *);
 
@@ -511,6 +512,7 @@
 	current->flags |= PF_EXITING;
 	del_timer(&current->real_timer);
 	sem_exit();
+	kerneld_exit();
 	exit_mm();
 	__exit_files(current);
 	__exit_fs(current);

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