Re: 2.4.20-pre2-ac1 does not compile

From: David Weinehall (tao@acc.umu.se)
Date: Wed Aug 14 2002 - 15:12:10 EST


On Wed, Aug 14, 2002 at 09:04:10PM +0100, Christoph Hellwig wrote:
> On Wed, Aug 14, 2002 at 10:02:40PM +0200, David Weinehall wrote:
> > On Wed, Aug 14, 2002 at 06:40:40PM +0100, Christoph Hellwig wrote:
> > > On Wed, Aug 14, 2002 at 07:33:05PM +0200, Jean-Luc Coulon wrote:
> > > > -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
> > > > -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=k6
> > > > -nostdinc -I /usr/lib/gcc-lib/i386-linux/2.95.4/include
> > > > -DKBUILD_BASENAME=swap_state -c -o swap_state.o swap_state.c
> > > > swap_state.c:155: macro `PAGE_BUG' used without args
> > >
> > > make that a plain BUG() - no idea what drove alan into that..
> >
> > Shouldn't it be PAGE_BUG(page)?!
>
>
> Have you ever looked at the defintion of PAGE_BUG()? :)

Yes I have (it simply ignores its argument and calls BUG()), but
I find it likely that there is some thought behind the existance of
PAGE_BUG. I may be wrong of course; I just saw it as reasonable that
it is planned to become somewhat more useful.

Regards: David

-- 
 /> David Weinehall <tao@acc.umu.se> /> Northern lights wander      <\
//  Maintainer of the v2.0 kernel   //  Dance across the winter sky //
\>  http://www.acc.umu.se/~tao/    </   Full colour fire           </
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 15 2002 - 22:00:37 EST