diff options
Diffstat (limited to 'kernel/sched.c')
-rw-r--r-- | kernel/sched.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index 58d66ea7d200..052120d67706 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -5467,6 +5467,8 @@ EXPORT_SYMBOL(yield); | |||
5467 | * yield_to - yield the current processor to another thread in | 5467 | * yield_to - yield the current processor to another thread in |
5468 | * your thread group, or accelerate that thread toward the | 5468 | * your thread group, or accelerate that thread toward the |
5469 | * processor it's on. | 5469 | * processor it's on. |
5470 | * @p: target task | ||
5471 | * @preempt: whether task preemption is allowed or not | ||
5470 | * | 5472 | * |
5471 | * It's the caller's job to ensure that the target task struct | 5473 | * It's the caller's job to ensure that the target task struct |
5472 | * can't go away on us before we can do any checks. | 5474 | * can't go away on us before we can do any checks. |