diff options
| author | Dan Carpenter <[email protected]> | 2014-05-23 10:20:42 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2014-06-05 09:52:13 +0000 |
| commit | fa93384f40deeb294fd29f2fdcadbd0ebc2dedf1 (patch) | |
| tree | 7948bf37a7b399f753937a311488b3f23b01622e /tools/perf/scripts/python/syscall-counts-by-pid.py | |
| parent | sched/fair: Use time_after() in record_wakee() (diff) | |
| download | kernel-fa93384f40deeb294fd29f2fdcadbd0ebc2dedf1.tar.gz kernel-fa93384f40deeb294fd29f2fdcadbd0ebc2dedf1.zip | |
sched: Fix signedness bug in yield_to()
yield_to() is supposed to return -ESRCH if there is no task to
yield to, but because the type is bool that is the same as returning
true.
The only place I see which cares is kvm_vcpu_on_spin().
Signed-off-by: Dan Carpenter <[email protected]>
Reviewed-by: Raghavendra <[email protected]>
Signed-off-by: Peter Zijlstra <[email protected]>
Cc: Gleb Natapov <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Paolo Bonzini <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/20140523102042.GA7267@mwanda
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions
