aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@mindspring.com>2006-12-10 05:20:00 -0500
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-10 12:55:42 -0500
commitcc2a73b5caf065f8612fcb5df5bd2f5e25881d99 (patch)
tree281f9957286872a7587da1004a50665ee07a7a97 /kernel/sched.c
parent596afa41b21a414e523936b27100456f0f85e411 (diff)
[PATCH] sched.c: correct comment for this_rq_lock()
Acked-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Robert P. J. Day <rpjday@mindspring.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/sched.c')
-rw-r--r--kernel/sched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index f385eff4682d..479199ab14ab 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -547,7 +547,7 @@ rq_sched_info_depart(struct rq *rq, unsigned long delta_jiffies)
547#endif 547#endif
548 548
549/* 549/*
550 * rq_lock - lock a given runqueue and disable interrupts. 550 * this_rq_lock - lock this runqueue and disable interrupts.
551 */ 551 */
552static inline struct rq *this_rq_lock(void) 552static inline struct rq *this_rq_lock(void)
553 __acquires(rq->lock) 553 __acquires(rq->lock)