summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2022-06-02 08:49:54 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2022-06-02 08:49:54 -0700
commit12831f6486f9db5a8f2c87129f2b8f33349b1e04 (patch)
tree35d5f944774b573079292b425dbbbb07e620bde8
parentca1dcc6d0c569e1e5f5b4a764329d9530760a416 (diff)
parent809631e2bff5aba056df75cc4e43127dbd0278c9 (diff)
downloadlinux-12831f6486f9db5a8f2c87129f2b8f33349b1e04.tar.bz2
Merge tag 'printk-for-5.19-fixup' of git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux
Pull printk fixup from Petr Mladek: - Revert inappropriate use of wake_up_interruptible_all() in printk() * tag 'printk-for-5.19-fixup' of git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux: Revert "printk: wake up all waiters"
-rw-r--r--kernel/printk/printk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/printk/printk.c b/kernel/printk/printk.c
index a3e1035929b0..ea3dd55709e7 100644
--- a/kernel/printk/printk.c
+++ b/kernel/printk/printk.c
@@ -3904,7 +3904,7 @@ static void wake_up_klogd_work_func(struct irq_work *irq_work)
}
if (pending & PRINTK_PENDING_WAKEUP)
- wake_up_interruptible_all(&log_wait);
+ wake_up_interruptible(&log_wait);
}
static DEFINE_PER_CPU(struct irq_work, wake_up_klogd_work) =