sched/core: Update task_prio() function header
authorDietmar Eggemann <dietmar.eggemann@arm.com>
Thu, 28 Jan 2021 13:10:40 +0000 (14:10 +0100)
committerIngo Molnar <mingo@kernel.org>
Wed, 17 Feb 2021 13:08:30 +0000 (14:08 +0100)
commitc541bb7835a306cdbbe8abbdf4e4df507e0ca27a
tree2559e3c649c457dd6db591a88768543c2a9cea08
parent9d061ba6bc170045857f3efe0bba5def30188d4d
sched/core: Update task_prio() function header

The description of the RT offset and the values for 'normal' tasks needs
update. Moreover there are DL tasks now.
task_prio() has to stay like it is to guarantee compatibility with the
/proc/<pid>/stat priority field:

  # cat /proc/<pid>/stat | awk '{ print $18; }'

Signed-off-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lkml.kernel.org/r/20210128131040.296856-4-dietmar.eggemann@arm.com
kernel/sched/core.c