diff options
author | Ingo Molnar <[email protected]> | 2017-06-20 12:24:42 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2017-06-20 12:26:52 +0200 |
commit | 6d3aed3d8a0573d0a6eb1160ccd0a0713f4dbc2f (patch) | |
tree | 9914dcf5efda89292c18705b6c6aa6a15ef7fc7a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ebfa4c02fa4806bfef189e88152b833f2a732bff (diff) |
sched/debug: Fix SCHED_WARN_ON() to return a value on !CONFIG_SCHED_DEBUG as well
This definition of SCHED_WARN_ON():
#define SCHED_WARN_ON(x) ((void)(x))
is not fully compatible with the 'real' WARN_ON_ONCE() primitive, as it
has no return value, so it cannot be used in conditionals.
Fix it.
Cc: Daniel Axtens <[email protected]>
Cc: Konstantin Khlebnikov <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: [email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions