[patch] powerpc: move PAGE_SIZE outside #ifdef __KERNEL__

David Howells dhowells at redhat.com
Fri Apr 21 03:31:21 EST 2006


Geoff Levand <geoffrey.levand at am.sony.com> wrote:

> The procps package needs PAGE_SIZE, defined in asm-powerpc/page.h,
> but it is defined inside "#ifdef __KERNEL__".
> 
> This moves the PAGE_SIZE definition outside of "#ifdef __KERNEL__".

Why do you want to do that?  Userspace shouldn't be using PAGE_SIZE directly.

David



More information about the Linuxppc-dev mailing list