Vladimir Kirillov <[email protected]> writes: > Index: sched.h > =================================================================== > RCS file: /cvs/src/sys/sys/sched.h,v > retrieving revision 1.22 > diff -N -u -p sched.h > --- sched.h 14 Apr 2009 09:13:25 -0000 1.22 > +++ sched.h 29 Jul 2009 10:30:52 -0000 > @@ -70,6 +70,7 @@ > #define _SYS_SCHED_H_ > > #include <sys/queue.h> > +#include <sys/param.h>
Can't do that. sys/param.h includes machines/param.h includes machine/cpu*.h includes sys/sched.h for schedstate_percpu. I don't remember which architectures this breaks, but there were a few. //art
