sched: Fix kernel-doc markup

Kernel-doc requires that a kernel-doc markup to be immediately
below the function prototype, as otherwise it will rename it.
So, move sys_sched_yield() markup to the right place.

Also fix the cpu_util() markup: Kernel-doc markups
should use this format:
identifier - description

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Vincent Guittot <vincent.guittot@linaro.org>
Link: https://lkml.kernel.org/r/50cd6f460aeb872ebe518a8e9cfffda2df8bdb0a.1606823973.git.mchehab+huawei@kernel.org

authored by Mauro Carvalho Chehab and committed by Ingo Molnar 59a74b15 3149cd55

+9 -9
+8 -8
kernel/sched/core.c
··· 6611 6611 return ret; 6612 6612 } 6613 6613 6614 - /** 6615 - * sys_sched_yield - yield the current processor to other threads. 6616 - * 6617 - * This function yields the current CPU to other tasks. If there are no 6618 - * other threads running on this CPU then this function will return. 6619 - * 6620 - * Return: 0. 6621 - */ 6622 6614 static void do_sched_yield(void) 6623 6615 { 6624 6616 struct rq_flags rf; ··· 6628 6636 schedule(); 6629 6637 } 6630 6638 6639 + /** 6640 + * sys_sched_yield - yield the current processor to other threads. 6641 + * 6642 + * This function yields the current CPU to other tasks. If there are no 6643 + * other threads running on this CPU then this function will return. 6644 + * 6645 + * Return: 0. 6646 + */ 6631 6647 SYSCALL_DEFINE0(sched_yield) 6632 6648 { 6633 6649 do_sched_yield();
+1 -1
kernel/sched/fair.c
··· 6330 6330 } 6331 6331 6332 6332 /** 6333 - * Amount of capacity of a CPU that is (estimated to be) used by CFS tasks 6333 + * cpu_util - Estimates the amount of capacity of a CPU used by CFS tasks. 6334 6334 * @cpu: the CPU to get the utilization of 6335 6335 * 6336 6336 * The unit of the return value must be the one of capacity so we can compare