Re: perf build broke by list_head changes...
From: Arnaldo Carvalho de Melo
Date: Tue Aug 10 2010 - 12:07:05 EST
Em Tue, Aug 10, 2010 at 04:29:53PM +0200, Arnd Bergmann escreveu:
> On Tuesday 10 August 2010, Arnaldo Carvalho de Melo wrote:
> > It started just keeping private copies, I guess it should get back to
> > that since the reaction to this kind of same source repo code sharing
> > was, well, not good :-)
> >
> > Alternatives?
>
> If perf wants to play tricks with the header files, we should probably
> make them explicit, as in this ugly bit of code.
Nah, no more ifdefs, the goal was more to share things with tools
developed/shipped in the kernel source repository, not to do something
just for perf.
> diff --git a/include/linux/types.h b/include/linux/types.h
> @@ -178,7 +178,7 @@ typedef __u64 __bitwise __be64;
> typedef __u16 __bitwise __sum16;
> typedef __u32 __bitwise __wsum;
>
> -#ifdef __KERNEL__
> +#if defined(__KERNEL__) || defined(__PERF__)
> typedef unsigned __bitwise__ gfp_t;
- Arnaldo
--
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/