aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDaniel Santos <[email protected]>2013-02-21 16:41:44 -0800
committerLinus Torvalds <[email protected]>2013-02-21 17:22:15 -0800
commitca623c914e82c3351cd657073fdb24a1df8c27b9 (patch)
tree10cfcc12a6c3e5927ed67a73070870c83f2d704c /tools/perf/scripts/python
parent6ae8d04871f84d853673e9e9f3f713e77a2fe145 (diff)
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 <[email protected]> Acked-by: Borislav Petkov <[email protected]> Cc: Andi Kleen <[email protected]> Cc: David Rientjes <[email protected]> Cc: Joe Perches <[email protected]> Cc: Josh Triplett <[email protected]> Cc: Paul Gortmaker <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions