[BusyBox] [PATCH] ifndef PAGE_SHIFT
Stewart Brodie
stewart at metahusky.net
Wed Jan 21 22:10:42 UTC 2004
Glenn McGrath <bug1 at iinet.net.au> wrote:
> 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.
Thank you very much - the latest CVS version of busybox now compiles against
my 2.4.23 kernel.
--
Stewart Brodie
More information about the busybox
mailing list