Re: Correct define for PAGE_SIZE

Jakub Jelinek (jj@sunsite.ms.mff.cuni.cz)
Mon, 18 Jan 1999 15:54:09 +0100 (CET)


>
> This may not be the right place to ask, but...
>
> I'm trying to compile ucd-snmp-4.0.pre2. It references swap.h which
> uses PAGE_SIZE without defining it (at least in 2.1.131). Is the
> correct value 0x400 (which I see in a.out.h)?

I have posted a patch to fix this to Linus already several times, but
without an answer. The patch is included in Alan's ac series or vger CVS
though.
One needs to #include <asm/page.h> in linux/swap.h...

Cheers,
Jakub
___________________________________________________________________
Jakub Jelinek | jj@sunsite.mff.cuni.cz | http://sunsite.mff.cuni.cz
Administrator of SunSITE Czech Republic, MFF, Charles University
___________________________________________________________________
UltraLinux | http://ultra.linux.cz/ | http://ultra.penguin.cz/
Linux version 2.2.0-pre7 on a sparc64 machine (3958.37 BogoMips)
___________________________________________________________________

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/