From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [66.187.233.31]) by ozlabs.org (Postfix) with ESMTP id EA3CB679FB for ; Fri, 21 Apr 2006 03:31:27 +1000 (EST) From: David Howells In-Reply-To: <4447C3BA.6050709@am.sony.com> References: <4447C3BA.6050709@am.sony.com> To: Geoff Levand Subject: Re: [patch] powerpc: move PAGE_SIZE outside #ifdef __KERNEL__ Date: Thu, 20 Apr 2006 18:31:21 +0100 Message-ID: <15231.1145554281@warthog.cambridge.redhat.com> Sender: dhowells@redhat.com Cc: linuxppc-dev@ozlabs.org, Paul Mackerras List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Geoff Levand 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