Re: [PATCH] KBUILD: Move non-__KERNEL__-checking headers to header-y.

Andrew Morton
2008-05-20T07:08:42Z

On Sat, 17 May 2008 20:18:07 -0400 (EDT) "Robert P. J. Day" <rpjday@crashcourse.ca> wrote:

>
> Move exported header files under include/linux that don't check the
> __KERNEL__ preprocessor from unifdef-y to header-y.
>

Changelog fails to tell us why this change is being made.

Perhaps it's because these headers just don't need unifdef processing?

If so, that seems fragile. If we later add a __KERNEL__ section to a
header we need to remember to move the file to unifdef-y, and we'll
forget. It'd be better to process all files with unifdef.

Or something. Or not.