Messages in this thread Patch in this message | | | Date | Thu, 28 Mar 2002 17:56:43 -0500 | From | Douglas Gilbert <> | Subject | Re: Linux 2.5.7-dj2 |
| |
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 | |