[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110318093453.8f7489a4.randy.dunlap@oracle.com>
Date: Fri, 18 Mar 2011 09:34:53 -0700
From: Randy Dunlap <randy.dunlap@...cle.com>
To: lkml <linux-kernel@...r.kernel.org>
Cc: Ingo Molnar <mingo@...e.hu>, Peter Zijlstra <peterz@...radead.org>
Subject: [PATCH] sched: fix yield_to kernel-doc
From: Randy Dunlap <randy.dunlap@...cle.com>
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@...cle.com>
Cc: Ingo Molnar <mingo@...e.hu>
Cc: Peter Zijlstra <peterz@...radead.org>
---
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists