|
@@ -5467,6 +5467,8 @@ EXPORT_SYMBOL(yield);
|
|
|
* yield_to - yield the current processor to another thread in
|
|
* yield_to - yield the current processor to another thread in
|
|
|
* your thread group, or accelerate that thread toward the
|
|
* your thread group, or accelerate that thread toward the
|
|
|
* processor it's on.
|
|
* processor it's on.
|
|
|
|
|
+ * @p: target task
|
|
|
|
|
+ * @preempt: whether task preemption is allowed or not
|
|
|
*
|
|
*
|
|
|
* It's the caller's job to ensure that the target task struct
|
|
* It's the caller's job to ensure that the target task struct
|
|
|
* can't go away on us before we can do any checks.
|
|
* can't go away on us before we can do any checks.
|