Re: Linux 2.5.7-dj2

From: Douglas Gilbert (dougg@torque.net)
Date: Thu Mar 28 2002 - 17:56:43 EST


For anyone having compile problems with kernel/acct.c
then the attachment fixed it for me (at least I running
2.5.7-dj2 now).

This system is Athlon based with a dc-390u3w and an
advansys scsi controller. "dj1" has been quite stable
for the last week and "dj2" is looking ok so far.
My IntelliMouse (PS/2) wheel still scrolls backwards.

Doug Gilbert

--- linux/kernel/acct.c257dj2 Wed Mar 27 23:52:37 2002
+++ linux/kernel/acct.c Thu Mar 28 17:04:49 2002
@@ -232,6 +232,7 @@
  * If the accouting is turned on for a file in the filesystem pointed
  * to by sb, turn accouting off.
  */
+#ifdef CONFIG_BSD_PROCESS_ACCT
 void acct_auto_close(struct super_block *sb)
 {
         spin_lock(&acct_globals.lock);
@@ -241,6 +242,7 @@
         }
         spin_unlock(&acct_globals.lock);
 }
+#endif
 
 /*
  * encode an unsigned long into a comp_t
@@ -375,6 +377,7 @@
 /*
  * acct_process - now just a wrapper around do_acct_process
  */
+#ifdef CONFIG_BSD_PROCESS_ACCT
 int acct_process(long exitcode)
 {
         struct file *file = NULL;
@@ -389,3 +392,4 @@
                 spin_unlock(&acct_globals.lock);
         return 0;
 }
+#endif

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Mar 31 2002 - 22:00:17 EST