[PATCH] sched: fix yield_to kernel-doc

From: Randy Dunlap
Date: Fri Mar 18 2011 - 12:35:16 EST

From: Randy Dunlap <randy.dunlap@xxxxxxxxxx>

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@xxxxxxxxxx>
Cc: Ingo Molnar <mingo@xxxxxxx>
Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Corrections needed?

kernel/sched.c | 2 ++
1 file changed, 2 insertions(+)

--- linux-2.6.38-git4.orig/kernel/sched.c
+++ linux-2.6.38-git4/kernel/sched.c
@@ -5460,6 +5460,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.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/