On Mon, Aug 23, 2004 at 11:29:46AM +0200, Maciej W. Rozycki wrote:
> > Log message:
> > Undo change from rev 1.37; some userspace software is expecting
> > PAGE_SIZE, PAGE_SHIFT and PAGE_MASK to be accessible through
> > <asm/page.h>. Sigh ...
>
> Fix that software then, instead of breaking good one (hint -- what is the
> "right" value of PAGE_SHIFT and why it doesn't work for that system over
> there?). With these macros exported it's hard to guess whether the page
> size can be hardcoded or it should get determined at the run time. And
> with glibc you get a compilation error due to PAGE_SHIFT being undefined.
> Please revert the braindamage.
Due to PAGE_SHIFT being undefined? You meant the opposite?
> What software is the offender, BTW?
Procps but I have dark memories of other packages doing the same thing, so
I gave up and kludged the thing the same way other architectures do.
Even IA-64 which is suffering the same pains with variable page size.
Ralf
|