From bd3742c2db151210649e4afee9a31211703ec8b4 Mon Sep 17 00:00:00 2001 From: "Paul E. McKenney" Date: Tue, 27 Sep 2022 21:05:42 +0800 Subject: [PATCH] rcu: Make TASKS_RUDE_RCU select IRQ_WORK stable inclusion from stable-v5.10.121 commit 10f30cba8f6c4bcbc5c17443fd6a9999d3991ae3 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I5L6CQ Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=10f30cba8f6c4bcbc5c17443fd6a9999d3991ae3 -------------------------------- [ Upstream commit 46e861be589881e0905b9ade3d8439883858721c ] The TASKS_RUDE_RCU does not select IRQ_WORK, which can result in build failures for kernels that do not otherwise select IRQ_WORK. This commit therefore causes the TASKS_RUDE_RCU Kconfig option to select IRQ_WORK. Reported-by: Hyeonggon Yoo <42.hyeyoo@gmail.com> Signed-off-by: Paul E. McKenney Signed-off-by: Sasha Levin Signed-off-by: Zheng Zengkai Acked-by: Xie XiuQi --- kernel/rcu/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/rcu/Kconfig b/kernel/rcu/Kconfig index 84dfa8dae1b2..b1d7aef10e6a 100644 --- a/kernel/rcu/Kconfig +++ b/kernel/rcu/Kconfig @@ -86,6 +86,7 @@ config TASKS_RCU config TASKS_RUDE_RCU def_bool 0 + select IRQ_WORK help This option enables a task-based RCU implementation that uses only context switch (including preemption) and user-mode -- GitLab