diff options
| author | pan xinhui <[email protected]> | 2016-02-23 19:05:01 +0800 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2016-02-24 20:08:48 +1100 |
| commit | 10d8b1480e6966ba03cd3afad3b5d6eb5e341fae (patch) | |
| tree | 5ab67c34061bb141ec4a6e231ebfd01d4d08faef /tools/perf/scripts/python | |
| parent | 289543a5c21a20ca88b803750a6cfe1a951eed5f (diff) | |
powerpc: Use BUILD_BUG_ON_MSG() for unsupported {cmp}xchg sizes
__xchg_called_with_bad_pointer() can't tell us which code uses {cmp}xchg
with an unsupported size, and no error is reported until the link stage.
To make such problems easier to debug, use BUILD_BUG_ON_MSG() instead.
Signed-off-by: pan xinhui <[email protected]>
[mpe: Tweak change log wording & add relaxed/acquire]
Signed-off-by: Michael Ellerman <[email protected]>
fixup
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions