Re: why so many unexported headers checking __KERNEL__?

From: David Woodhouse
Date: Wed Mar 26 2008 - 09:19:57 EST


On Wed, 2008-03-26 at 09:16 -0400, Robert P. J. Day wrote:
> well, since i already have the output from my script, i might toss
> together some per-directory patches to start removing some of that.
> this sounds more like a one-shot thing than adding permanent checking
> to the build process.

Makes sense.

Remember, one of our goals is to move towards having files which are
just _copied_ (header-y) instead of having these ifdefs. If, in your
travels, you see a way you can split headers up more sensibly to achieve
that, it would be good.

--
dwmw2

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