Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.1.101 /kernel/exit.c

Filename:/kernel/exit.c
Lines Added:4
Lines Deleted:0
Also changed in: (Previous) 2.1.92  2.1.90  2.1.89  2.1.79  2.1.68  2.1.57 
(Following) 2.1.112  2.1.114  2.1.116  2.1.122  2.1.123  2.1.126 

Location
[  2.1.101
  [  kernel
     o  exit.c

Patch

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);


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.