hc
2023-11-06 e3e12f52b214121840b44c91de5b3e5af5d3eb84
kernel/arch/powerpc/platforms/ps3/device-init.c
....@@ -752,8 +752,8 @@
752752 }
753753 pr_debug("%s:%u: notification %s issued\n", __func__, __LINE__, op);
754754
755
- res = wait_event_interruptible(dev->done.wait,
756
- dev->done.done || kthread_should_stop());
755
+ res = swait_event_interruptible_exclusive(dev->done.wait,
756
+ dev->done.done || kthread_should_stop());
757757 if (kthread_should_stop())
758758 res = -EINTR;
759759 if (res) {