[BusyBox] [PATCH] ifndef PAGE_SHIFT

Glenn McGrath bug1 at iinet.net.au
Wed Jan 21 11:39:42 UTC 2004


On Mon, 19 Jan 2004 10:01:36 +0000
Stewart Brodie <stewart at metahusky.net> wrote:

> 
> Re-starting a conversation that started on 20th December last year ...
> 
> [Recent MIPS kernels (about 2.4.23 onwards) do not make PAGE_SHIFT or
> PAGE_MASK available to userland, the macros in asm-mips/page.h now
> being protected inside #ifdef __KERNEL__ - but libbb/procps.c relies
> on PAGE_SHIFT being available - possibly other things do too.  Erik
> put a definition in libbb/procps.c in for PAGE_MASK instead of
> PAGE_SHIFT, Atsushi Nemoto queried this, Erik admitted he couldn't
> read :-), and removed the PAGE_MASK but never did insert the
> PAGE_SHIFT definition]

Ok, its been applied now.


Glenn



More information about the busybox mailing list