sched: Fix signedness bug in yield_to()
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 5 Feb 2013 11:37:51 +0000 (14:37 +0300)
committerIngo Molnar <mingo@kernel.org>
Tue, 5 Feb 2013 11:59:29 +0000 (12:59 +0100)
commitc3c186403c6abd32e719f005f0af950155a9e54d
tree76b0b2bc308c24d0e8b3729993de548fdf4a42aa
parente0a79f529d5ba2507486d498b25da40911d95cf6
sched: Fix signedness bug in yield_to()

In 7b270f6099 "sched: Bail out of yield_to when source and
target runqueue has one task" we changed this to store -ESRCH so
it needs to be signed.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: kbuild@01.org
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Mike Galbraith <efault@gmx.de>
Link: http://lkml.kernel.org/r/20130205113751.GA20521@elgon.mountain
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/core.c