Re: linux/include/asm-i386/processor.h warnings

Philip Blundell (pjb27@cam.ac.uk)
Mon, 9 Jun 1997 11:57:06 +0100 (BST)


On Mon, 9 Jun 1997 mabzug1@umbc.edu wrote:

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