[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAM_iQpX_0U26_1yX+VJwhkkA7Un6Mj53AqPpRK36ONM32u4BKA@mail.gmail.com>
Date: Sun, 17 Jul 2011 15:46:11 +0800
From: Américo Wang <xiyou.wangcong@...il.com>
To: Michal Marek <mmarek@...e.cz>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org
Subject: [Patch] fix a headers_check warning in include/linux/kernel.h
This fixes the warning:
linux-2.6/usr/include/linux/kernel.h:65: userspace cannot reference
function or variable defined in the kernel
As Michal noted, BUILD_BUG_ON stuffs should be moved
under #ifdef __KERNEL__.
Signed-off-by: WANG Cong <xiyou.wangcong@...il.com>
View attachment "include-linux-kernel_h-fix-headers-check-warning.diff" of type "text/x-patch" (2550 bytes)
Powered by blists - more mailing lists