lkml.org 
[lkml]   [2011]   [Jul]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [Patch] fix a headers_check warning in include/linux/kernel.h
From
Date
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@gmail.com>
> 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@goodmis.org>

-- Steve




\
 
 \ /
  Last update: 2011-07-25 20:29    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog