[patch] powerpc: move PAGE_SIZE outside #ifdef __KERNEL__

Paul Mackerras paulus at samba.org
Fri Apr 21 09:07:43 EST 2006


Geoff Levand writes:

> The procps package needs PAGE_SIZE, defined in asm-powerpc/page.h,

Ummm... why?  If procps is assuming that the page size of the kernel
it's running on is the same as the page size of the kernel it was
compiled on, it's broken.  It should be using sysconf(PAGE_SIZE) at
runtime.

Paul.



More information about the Linuxppc-dev mailing list