summaryrefslogtreecommitdiffstats
path: root/include/linux/kernel.h
diff options
context:
space:
mode:
authorNikita Danilov <nikita@clusterfs.com>2005-10-30 15:03:10 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2005-10-30 17:37:26 -0800
commitc0398ee6c2fe3c1743ecc74a6378b67ba0880a4f (patch)
tree7cf685c6bf404b7c1a063ecf47af1273f60d72c7 /include/linux/kernel.h
parented8b39d0aaea90df528ebe3756cbef8f735a93e6 (diff)
downloadop-kernel-dev-c0398ee6c2fe3c1743ecc74a6378b67ba0880a4f.zip
op-kernel-dev-c0398ee6c2fe3c1743ecc74a6378b67ba0880a4f.tar.gz
[PATCH] include/linux/kernel.h:BUILD_BUG_ON(): fix a comment
Fix comment describing BUILD_BUG_ON: BUG_ON is not an assertion (unfortunately). Signed-off-by: Nikita Danilov <nikita@clusterfs.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/kernel.h')
-rw-r--r--include/linux/kernel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h
index 4367ce4..f1925cc 100644
--- a/include/linux/kernel.h
+++ b/include/linux/kernel.h
@@ -307,7 +307,7 @@ struct sysinfo {
char _f[20-2*sizeof(long)-sizeof(int)]; /* Padding: libc5 uses this.. */
};
-/* Force a compilation error if condition is false */
+/* Force a compilation error if condition is true */
#define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
#ifdef CONFIG_SYSCTL
OpenPOWER on IntegriCloud