| Kernel v2.1.101 /kernel/exit.c |
|---|
 2.1.101
 kernel
 exit.c
diff -u --recursive --new-file v2.1.100/linux/kernel/exit.c linux/kernel/exit.c
--- v2.1.100/linux/kernel/exit.c Wed Apr 1 20:11:54 1998
+++ linux/kernel/exit.c Fri May 8 17:54:39 1998
@@ -20,7 +20,9 @@
#include <linux/smp_lock.h>
#include <linux/module.h>
#include <linux/slab.h>
+#ifdef CONFIG_BSD_PROCESS_ACCT
#include <linux/acct.h>
+#endif
#include <asm/uaccess.h>
#include <asm/pgtable.h>
@@ -346,7 +348,9 @@
panic("Attempted to kill the idle task!");
fake_volatile:
current->flags |= PF_EXITING;
+#ifdef CONFIG_BSD_PROCESS_ACCT
acct_process(code);
+#endif
del_timer(¤t->real_timer);
sem_exit();
__exit_mm(current);
|