Re: [PATCH] powerpc: fix userspace build of ptrace.h
From: Dave Kleikamp
Date: Mon May 10 2010 - 10:11:14 EST
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@xxxxxxxxxxxx>
> > 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@xxxxxxxxxxxx>
> > Cc: Andrey Volkov <avolkov@xxxxxxxxxxxx>
> > Cc: Dave Kleikamp <shaggy@xxxxxxxxxxxxxxxxxx>
> > Cc: Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx>
> > ---
> >
> > 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@xxxxxxxxxxxxxxxxxx>
--
Dave Kleikamp
IBM Linux Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/