From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: [PATCH] powerpc: fix userspace build of ptrace.h From: Dave Kleikamp To: Benjamin Herrenschmidt In-Reply-To: <1273390060.4861.230.camel@pasglop> References: <4BE5C203.6060509@varma-el.com> <1273375269.5312.4.camel@norville.austin.ibm.com> <20100509065931.GA6633@merkur.ravnborg.org> <1273390060.4861.230.camel@pasglop> Content-Type: text/plain Date: Mon, 10 May 2010 09:10:50 -0500 Message-Id: <1273500650.5317.4.camel@norville.austin.ibm.com> Mime-Version: 1.0 Cc: linuxppc-dev list , Andrey Volkov , Sam Ravnborg , LKML , David Gibson List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Sun, 2010-05-09 at 17:27 +1000, Benjamin Herrenschmidt wrote: > On Sun, 2010-05-09 at 08:59 +0200, Sam Ravnborg wrote: > > >From ff056c080d2b0b93bac07ad71125fee701919f5e Mon Sep 17 00:00:00 2001 > > From: Sam Ravnborg > > Date: Sun, 9 May 2010 08:52:31 +0200 > > Subject: [PATCH] powerpc: fix userspace build of ptrace.h > > > > Build of ptrace.h failed for assembly because it > > pulls in stdint.h. > > Use exportable types (__u32, __u64) to avoid the dependency > > on stdint.h. > > > > Signed-off-by: Sam Ravnborg > > Cc: Andrey Volkov > > Cc: Dave Kleikamp > > Cc: Benjamin Herrenschmidt > > --- > > > > A better fix is to remove the use of stdint like the following patch does. > > Note - I have not even build tested this patch! > > Ack, thanks, I'll test and apply. Acked-by: Dave Kleikamp -- Dave Kleikamp IBM Linux Technology Center