[PATCH] powerpc: fix userspace build of ptrace.h

Dave Kleikamp shaggy at linux.vnet.ibm.com
Tue May 11 00:10:50 EST 2010


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 <sam at ravnborg.org>
> > 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 <sam at ravnborg.org>
> > Cc: Andrey Volkov <avolkov at varma-el.com>
> > Cc: Dave Kleikamp <shaggy at linux.vnet.ibm.com>
> > Cc: Benjamin Herrenschmidt <benh at kernel.crashing.org>
> > ---
> > 
> > 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 <shaggy at linux.vnet.ibm.com>

-- 
Dave Kleikamp
IBM Linux Technology Center



More information about the Linuxppc-dev mailing list