aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/powercap
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2020-07-20 23:49:18 +0200
committerPeter Zijlstra <peterz@infradead.org>2020-07-29 11:43:53 +0200
commit4fd5750af02ab7bba7c58a073060cc1da8a69173 (patch)
tree5bd052de2e384074a168b320e35cfdb25e742eca /drivers/powercap
parentsched: Remove sched_set_*() return value (diff)
downloadlinux-dev-4fd5750af02ab7bba7c58a073060cc1da8a69173.tar.xz
linux-dev-4fd5750af02ab7bba7c58a073060cc1da8a69173.zip
sched,tracing: Convert to sched_set_fifo()
One module user of sched_setscheduler() was overlooked and is obviously causing build failures. Convert ring_buffer_benchmark to use sched_set_fifo_low() when fifo==1 and sched_set_fifo() when fifo==2. This is a bit of an abuse, but it makes the thing 'work' again. Specifically, it enables all combinations that were previously possible: producer higher than consumer consumer higher than producer Fixes: 616d91b68cd5 ("sched: Remove sched_setscheduler*() EXPORTs") Reported-by: kernel test robot <lkp@intel.com> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Steven Rostedt (VMware) <rostedt@goodmis.org> Link: https://lkml.kernel.org/r/20200720214918.GM5523@worktop.programming.kicks-ass.net
Diffstat (limited to 'drivers/powercap')
0 files changed, 0 insertions, 0 deletions