Commit 16addf954d3954a72fd56abc02ffcba3c18529a1
Committed by
Ingo Molnar
1 parent
58cbe2476a
Exists in
master
and in
7 other branches
sched: Fix yield_to kernel-doc
Add missing function parameters for yield_to(): Warning(kernel/sched.c:5470): No description found for parameter 'p' Warning(kernel/sched.c:5470): No description found for parameter 'preempt' Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Cc: Peter Zijlstra <peterz@infradead.org> LKML-Reference: <20110318093453.8f7489a4.randy.dunlap@oracle.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff
kernel/sched.c
... | ... | @@ -5467,6 +5467,8 @@ |
5467 | 5467 | * yield_to - yield the current processor to another thread in |
5468 | 5468 | * your thread group, or accelerate that thread toward the |
5469 | 5469 | * processor it's on. |
5470 | + * @p: target task | |
5471 | + * @preempt: whether task preemption is allowed or not | |
5470 | 5472 | * |
5471 | 5473 | * It's the caller's job to ensure that the target task struct |
5472 | 5474 | * can't go away on us before we can do any checks. |