summaryrefslogtreecommitdiff
path: root/include/xen
diff options
context:
space:
mode:
authorDaniel Santos <daniel.santos@pobox.com>2013-02-22 00:41:44 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2013-02-22 01:22:15 (GMT)
commitca623c914e82c3351cd657073fdb24a1df8c27b9 (patch)
tree10cfcc12a6c3e5927ed67a73070870c83f2d704c /include/xen
parent6ae8d04871f84d853673e9e9f3f713e77a2fe145 (diff)
downloadlinux-fsl-qoriq-ca623c914e82c3351cd657073fdb24a1df8c27b9.tar.xz
bug.h: fix BUILD_BUG_ON macro in __CHECKER__
When __CHECKER__ is defined, we disable all of the BUILD_BUG.* macros. However, both BUILD_BUG_ON_NOT_POWER_OF_2 and BUILD_BUG_ON was evaluating to nothing in this case, and we want (0) since this is a function-like macro that will be followed by a semicolon. Signed-off-by: Daniel Santos <daniel.santos@pobox.com> Acked-by: Borislav Petkov <bp@alien8.de> Cc: Andi Kleen <ak@linux.intel.com> Cc: David Rientjes <rientjes@google.com> Cc: Joe Perches <joe@perches.com> Cc: Josh Triplett <josh@joshtriplett.org> Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/xen')
0 files changed, 0 insertions, 0 deletions