public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Douglas Gilbert <dougg@torque.net>
To: linux-kernel@vger.kernel.org
Cc: Dave Jones <davej@suse.de>
Subject: Re: Linux 2.5.7-dj2
Date: Thu, 28 Mar 2002 17:56:43 -0500	[thread overview]
Message-ID: <3CA39FAB.C1D2034D@torque.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 350 bytes --]

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

[-- Attachment #2: acct257dj2.diff --]
[-- Type: text/plain, Size: 732 bytes --]

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

             reply	other threads:[~2002-03-28 22:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-28 22:56 Douglas Gilbert [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-03-28  1:59 Linux 2.5.7-dj1 Dave Jones
2002-03-28  2:35 ` Linux 2.5.7-dj2 Nathan Walp
2002-03-28 11:45   ` Dave Jones
2002-03-28 17:10     ` Bill Davidsen
2002-03-28 18:56       ` Dave Jones

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3CA39FAB.C1D2034D@torque.net \
    --to=dougg@torque.net \
    --cc=davej@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox