Re: [PATCH -ak] Fix missing include

From: Thomas Gleixner
Date: Tue May 22 2007 - 03:28:35 EST


On Tue, 2007-05-22 at 08:20 +0200, Andi Kleen wrote:
> On Monday 21 May 2007 22:03, Thomas Gleixner wrote:
> > ftp://firstfloor.org/pub/ak/x86_64/quilt/x86_64-2.6.22-rc2-070521-1.bz2
> >
> > explodes in various places due to missing defines of __cold. We can't
> > rely on the assumption that linux/compiler.h is included magically
> > before bug.h is included. Include it explicitely.
>
> Hmm, somehow it worked here. Perhaps longer term it would be a good
> idea to turn compiler.h into an -include

Might be not a bad idea. > 300 files include it directly and it's
included from sched.h & co as well.

tglx


-
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/