Skip to contentSkip to conversation

sched.c: correct typoes in this_rq_lock() comment.

PATCH New Robert P. J. Day 1 participant 1 message Oct 25, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sched.c: correct typoes in this_rq_lock() comment.

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

---

kernel/sched.c +1 -1
index 3399701..8f3bdc3 100644
@@ -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)