diff options
author | Peter Zijlstra <peterz@infradead.org> | 2014-05-12 22:50:34 +0200 |
---|---|---|
committer | Show Liu <show.liu@linaro.org> | 2014-06-18 12:05:23 +0800 |
commit | b6b3be95fd247de83604651cf289f7e036149e6e (patch) | |
tree | e2ad627a1f2aac27abf0e40f73d20d2627ce6423 /firmware/keyspan/usa49w.HEX | |
parent | 6d63822a84a707217878bc7c3ac33e7bbd7ef0ee (diff) |
sched/deadline: Change sched_getparam() behaviour vs SCHED_DEADLINE
commit ce5f7f8200ca2504f6f290044393d73ca314965a upstream.
The way we read POSIX one should only call sched_getparam() when
sched_getscheduler() returns either SCHED_FIFO or SCHED_RR.
Given that we currently return sched_param::sched_priority=0 for all
others, extend the same behaviour to SCHED_DEADLINE.
Requested-by: Michael Kerrisk <mtk.manpages@gmail.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Acked-by: Michael Kerrisk <mtk.manpages@gmail.com>
Cc: Dario Faggioli <raistlin@linux.it>
Cc: linux-man <linux-man@vger.kernel.org>
Cc: "Michael Kerrisk (man-pages)" <mtk.manpages@gmail.com>
Cc: Juri Lelli <juri.lelli@gmail.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: http://lkml.kernel.org/r/20140512205034.GH13467@laptop.programming.kicks-ass.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'firmware/keyspan/usa49w.HEX')
0 files changed, 0 insertions, 0 deletions