aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@mindspring.com>2007-02-10 04:45:59 -0500
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-02-11 13:51:32 -0500
commit72fd4a35a824331d7a0f4168d7576502d95d34b3 (patch)
treebe27880bc36b7f62e8044a88b8744a35c5317714 /kernel/sched.c
parent262086cf5b5343c2b81c97b1c606058e921859df (diff)
[PATCH] Numerous fixes to kernel-doc info in source files.
A variety of (mostly) innocuous fixes to the embedded kernel-doc content in source files, including: * make multi-line initial descriptions single line * denote some function names, constants and structs as such * change erroneous opening '/*' to '/**' in a few places * reword some text for clarity Signed-off-by: Robert P. J. Day <rpjday@mindspring.com> Cc: "Randy.Dunlap" <rdunlap@xenotime.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/sched.c')
-rw-r--r--kernel/sched.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index 1cd4ee769e20..1fd67e16cd31 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -4203,13 +4203,12 @@ static void __setscheduler(struct task_struct *p, int policy, int prio)
4203} 4203}
4204 4204
4205/** 4205/**
4206 * sched_setscheduler - change the scheduling policy and/or RT priority of 4206 * sched_setscheduler - change the scheduling policy and/or RT priority of a thread.
4207 * a thread.
4208 * @p: the task in question. 4207 * @p: the task in question.
4209 * @policy: new policy. 4208 * @policy: new policy.
4210 * @param: structure containing the new RT priority. 4209 * @param: structure containing the new RT priority.
4211 * 4210 *
4212 * NOTE: the task may be already dead 4211 * NOTE that the task may be already dead.
4213 */ 4212 */
4214int sched_setscheduler(struct task_struct *p, int policy, 4213int sched_setscheduler(struct task_struct *p, int policy,
4215 struct sched_param *param) 4214 struct sched_param *param)
@@ -4577,7 +4576,7 @@ asmlinkage long sys_sched_getaffinity(pid_t pid, unsigned int len,
4577/** 4576/**
4578 * sys_sched_yield - yield the current processor to other threads. 4577 * sys_sched_yield - yield the current processor to other threads.
4579 * 4578 *
4580 * this function yields the current CPU by moving the calling thread 4579 * This function yields the current CPU by moving the calling thread
4581 * to the expired array. If there are no other threads running on this 4580 * to the expired array. If there are no other threads running on this
4582 * CPU then this function will return. 4581 * CPU then this function will return.
4583 */ 4582 */
@@ -4704,7 +4703,7 @@ EXPORT_SYMBOL(cond_resched_softirq);
4704/** 4703/**
4705 * yield - yield the current processor to other threads. 4704 * yield - yield the current processor to other threads.
4706 * 4705 *
4707 * this is a shortcut for kernel-space yielding - it marks the 4706 * This is a shortcut for kernel-space yielding - it marks the
4708 * thread runnable and calls sys_sched_yield(). 4707 * thread runnable and calls sys_sched_yield().
4709 */ 4708 */
4710void __sched yield(void) 4709void __sched yield(void)