Re: [Patch] fix a headers_check warning in include/linux/kernel.h

From: Steven Rostedt
Date: Mon Jul 25 2011 - 14:25:55 EST


On Mon, 2011-07-18 at 18:00 -0400, Arnaud Lacombe wrote:
> Hi,
>
> For the sake of having a patch ready. I actually did it yesterday but did not
> send it then. Cc'ed to the authors of the relevant macros; __FUNCTION__ was
> actually exported since ages, but I really do not see why the kernel exports
> this macros...
>
> - Arnaud
>
> --
> From: Arnaud Lacombe <lacombar@xxxxxxxxx>
> Subject: linux/kernel.h: hide internal macros
>
> Unexpose to userland the following macros
> - BUILD_BUG_ON.*
> - __FUNCTION__
> - NUMA_BUILD
> - COMPACTION_BUILD
> - REBUILD_DUE_TO_FTRACE_MCOUNT_RECORD

Acked-by: Steven Rostedt <rostedt@xxxxxxxxxxx>

-- Steve


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