diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2017-07-30 14:54:08 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2017-07-30 14:54:08 -0400 |
| commit | e4776b8ccbdc4b8a0744641cd66197a91ec37689 (patch) | |
| tree | 6c7d223618b6b4ff8e532d6eb3663e6e9839f325 | |
| parent | dbc52a80308c237a2ee0e46e63fdbfbcb518978e (diff) | |
| parent | 6c423f5751b9f68bfe7c7545519d4c7159f93e1b (diff) | |
Merge branch 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull scheduler fixes from Thomas Gleixner:
"Two patches addressing build warnings caused by inconsistent kernel
doc comments"
* 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
sched/wait: Clean up some documentation warnings
sched/core: Fix some documentation build warnings
| -rw-r--r-- | include/linux/wait.h | 8 | ||||
| -rw-r--r-- | kernel/sched/core.c | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/include/linux/wait.h b/include/linux/wait.h index b289c96151ee..5b74e36c0ca8 100644 --- a/include/linux/wait.h +++ b/include/linux/wait.h | |||
| @@ -529,13 +529,13 @@ do { \ | |||
| 529 | 529 | ||
| 530 | /** | 530 | /** |
| 531 | * wait_event_interruptible_hrtimeout - sleep until a condition gets true or a timeout elapses | 531 | * wait_event_interruptible_hrtimeout - sleep until a condition gets true or a timeout elapses |
| 532 | * @wq_head: the waitqueue to wait on | 532 | * @wq: the waitqueue to wait on |
| 533 | * @condition: a C expression for the event to wait for | 533 | * @condition: a C expression for the event to wait for |
| 534 | * @timeout: timeout, as a ktime_t | 534 | * @timeout: timeout, as a ktime_t |
| 535 | * | 535 | * |
| 536 | * The process is put to sleep (TASK_INTERRUPTIBLE) until the | 536 | * The process is put to sleep (TASK_INTERRUPTIBLE) until the |
| 537 | * @condition evaluates to true or a signal is received. | 537 | * @condition evaluates to true or a signal is received. |
| 538 | * The @condition is checked each time the waitqueue @wq_head is woken up. | 538 | * The @condition is checked each time the waitqueue @wq is woken up. |
| 539 | * | 539 | * |
| 540 | * wake_up() has to be called after changing any variable that could | 540 | * wake_up() has to be called after changing any variable that could |
| 541 | * change the result of the wait condition. | 541 | * change the result of the wait condition. |
| @@ -735,12 +735,12 @@ extern int do_wait_intr_irq(wait_queue_head_t *, wait_queue_entry_t *); | |||
| 735 | 735 | ||
| 736 | /** | 736 | /** |
| 737 | * wait_event_killable - sleep until a condition gets true | 737 | * wait_event_killable - sleep until a condition gets true |
| 738 | * @wq: the waitqueue to wait on | 738 | * @wq_head: the waitqueue to wait on |
| 739 | * @condition: a C expression for the event to wait for | 739 | * @condition: a C expression for the event to wait for |
| 740 | * | 740 | * |
| 741 | * The process is put to sleep (TASK_KILLABLE) until the | 741 | * The process is put to sleep (TASK_KILLABLE) until the |
| 742 | * @condition evaluates to true or a signal is received. | 742 | * @condition evaluates to true or a signal is received. |
| 743 | * The @condition is checked each time the waitqueue @wq is woken up. | 743 | * The @condition is checked each time the waitqueue @wq_head is woken up. |
| 744 | * | 744 | * |
| 745 | * wake_up() has to be called after changing any variable that could | 745 | * wake_up() has to be called after changing any variable that could |
| 746 | * change the result of the wait condition. | 746 | * change the result of the wait condition. |
diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 17c667b427b4..0869b20fba81 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c | |||
| @@ -2069,7 +2069,7 @@ out: | |||
| 2069 | /** | 2069 | /** |
| 2070 | * try_to_wake_up_local - try to wake up a local task with rq lock held | 2070 | * try_to_wake_up_local - try to wake up a local task with rq lock held |
| 2071 | * @p: the thread to be awakened | 2071 | * @p: the thread to be awakened |
| 2072 | * @cookie: context's cookie for pinning | 2072 | * @rf: request-queue flags for pinning |
| 2073 | * | 2073 | * |
| 2074 | * Put @p on the run-queue if it's not already there. The caller must | 2074 | * Put @p on the run-queue if it's not already there. The caller must |
| 2075 | * ensure that this_rq() is locked, @p is bound to this_rq() and not | 2075 | * ensure that this_rq() is locked, @p is bound to this_rq() and not |
