blob: 020f09e0e849b9ae46591c6165d1ff16ef15c798 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
From 23a31c3df00faa9e53348150b0eae33153dd3a11 Mon Sep 17 00:00:00 2001
From: Thomas Gleixner <tglx@linutronix.de>
Date: Tue, 9 Mar 2021 09:42:17 +0100
Subject: [PATCH 145/323] tasklets: Switch tasklet_disable() to the sleep wait
variant
Origin: https://www.kernel.org/pub/linux/kernel/projects/rt/5.10/older/patches-5.10.215-rt107.tar.xz
-- NOT FOR IMMEDIATE MERGING --
Now that all users of tasklet_disable() are invoked from sleepable context,
convert it to use tasklet_unlock_wait() which might sleep.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
---
include/linux/interrupt.h | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/include/linux/interrupt.h b/include/linux/interrupt.h
index 6eae70ec3a178..a1c64d969532d 100644
--- a/include/linux/interrupt.h
+++ b/include/linux/interrupt.h
@@ -711,8 +711,7 @@ static inline void tasklet_disable_in_atomic(struct tasklet_struct *t)
static inline void tasklet_disable(struct tasklet_struct *t)
{
tasklet_disable_nosync(t);
- /* Spin wait until all atomic users are converted */
- tasklet_unlock_spin_wait(t);
+ tasklet_unlock_wait(t);
smp_mb();
}
--
2.44.0
|