Unverified Commit bc1376a3 authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files
parents cf6205aa 65d931d5
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -622,6 +622,8 @@ void kthread_unpark(struct task_struct *k)
{
	struct kthread *kthread = to_kthread(k);

	if (!test_bit(KTHREAD_SHOULD_PARK, &kthread->flags))
		return;
	/*
	 * Newly created kthread was parked when the CPU was offline.
	 * The binding was lost and we need to set it again.