mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] sched.c: correct typoes in this_rq_lock() comment.
@ 2006-10-25  1:25 Robert P. J. Day
  0 siblings, 0 replies; only message in thread
From: Robert P. J. Day @ 2006-10-25  1:25 UTC (permalink / raw)
  To: Linux Kernel Mailing List; +Cc: trivial


Correct the comment preceding this_rq_lock() so that it matches the
actual function name and purpose.

Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>
---
diff --git a/kernel/sched.c b/kernel/sched.c
index 3399701..8f3bdc3 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -547,7 +547,7 @@ # define schedstat_add(rq, field, amt)	d
 #endif

 /*
- * rq_lock - lock a given runqueue and disable interrupts.
+ * this_rq_lock - lock the current runqueue and disable interrupts.
  */
 static inline struct rq *this_rq_lock(void)
 	__acquires(rq->lock)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-10-25  1:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-10-25  1:25 [PATCH] sched.c: correct typoes in this_rq_lock() comment Robert P. J. Day

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®