Skip to content

Commit

Permalink
sched.c: fix kernel-doc for runqueue_is_locked()
Browse files Browse the repository at this point in the history
Fix kernel-doc warning for runqueue_is_locked():

  Warning(kernel/sched.c:664): missing initial short description on line:

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Randy Dunlap authored and Linus Torvalds committed Mar 16, 2011
1 parent bb6405e commit 1fd06bb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions kernel/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -661,10 +661,9 @@ static void update_rq_clock(struct rq *rq)
#endif

/**
* runqueue_is_locked
* runqueue_is_locked - Returns true if the current cpu runqueue is locked
* @cpu: the processor in question.
*
* Returns true if the current cpu runqueue is locked.
* This interface allows printk to be called with the runqueue lock
* held and know whether or not it is OK to wake up the klogd.
*/
Expand Down

0 comments on commit 1fd06bb

Please sign in to comment.