> > You shouldn't be including <asm/> headers directly from user-space code.
>
> i first noticed it when compiling procps 1.01. :) [BTW: the change to
> /proc/meminfo has broken proc-based free. Even compiling fresh under
> 2.1.42, free complains. But i assume this has already been noticed. . .]
Ah. Yeah, procps is an awful mess. Somebody ought to rewrite it. You
can probably fix the warnings by including <linux/sched.h> first, but
that's just as bad...
Top is broken as well by the meminfo change by the way. Somebody posted a
patch for that recently, and it ought not to be too hard to do the same
for free.
p.