]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
include/linux/kernel.h: fix a headers_check warning
authorWANG Cong <xiyou.wangcong@gmail.com>
Tue, 26 Jul 2011 00:13:02 +0000 (17:13 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 26 Jul 2011 03:57:14 +0000 (20:57 -0700)
commit9d00f92f437f0ff682876cab9f2d94cf3b6e5d17
treec5557822a4cdd93336cfacb08e14dde163a1855a
parenta0e44d4a7a3935afe425ec8dd1a5b63895e1f9c3
include/linux/kernel.h: fix a headers_check warning

Fix the warning:

  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@gmail.com>
Cc: Michal Marek <mmarek@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/kernel.h