nice missing from csa structures?

Andrew Fant <[email protected]> Thu, 14 Oct 2004 11:41:54 -0400
Newsgroups gmane.linux.comprehensive-system-accounting
Message-ID <[email protected]>
I'm attempting to build csa into a 2.4.26 kernel with the patches found on 
oss.sgi.com and have run into a strange problem.  When make bzImage 
attempts to compile kernel/csa.c I get errors about nice not being defined 
in the csa structures.  In particular, the lines:

csa->ac_nice = p->nice;

and

eoj.ac_nice = current->nice;

cause the compilation to fail.  If I comment out those lines everything 
compiles and runs fine.   Has anyone else had this issue, and has anyone 
found a workaround?  I can't switch to a 2.6 kernel series, so that isn't 
an issue.

On an unrelated note, can BSD process accounting and CSA coexist, or should 
I turn one off if the other is in use?

Thanks,
	Andy