sched: Fix yield_to kernel-doc
authorRandy Dunlap <randy.dunlap@oracle.com>
Fri, 18 Mar 2011 16:34:53 +0000 (09:34 -0700)
committerIngo Molnar <mingo@elte.hu>
Sat, 19 Mar 2011 18:19:36 +0000 (19:19 +0100)
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>
kernel/sched.c

index 58d66ea7d2004c272e792ac8d6eb9fedc73303cc..052120d67706f5fba6823d86446afd6b7ec6de06 100644 (file)
@@ -5467,6 +5467,8 @@ EXPORT_SYMBOL(yield);
  * yield_to - yield the current processor to another thread in
  * your thread group, or accelerate that thread toward the
  * processor it's on.
+ * @p: target task
+ * @preempt: whether task preemption is allowed or not
  *
  * It's the caller's job to ensure that the target task struct
  * can't go away on us before we can do any checks.
This page took 0.030791 seconds and 5 git commands to generate.