]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
rcu: Make TASKS_RUDE_RCU select IRQ_WORK
authorPaul E. McKenney <paulmck@kernel.org>
Thu, 17 Mar 2022 16:30:10 +0000 (09:30 -0700)
committerStefan Bader <stefan.bader@canonical.com>
Wed, 10 Aug 2022 07:23:39 +0000 (09:23 +0200)
BugLink: https://bugs.launchpad.net/bugs/1981864
[ 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 <paulmck@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
kernel/rcu/Kconfig

index 3128b7cf8e1fd11da74f3aa5b78e9031eaa4e69a..f73cf17fcee92a28150d9b953ce7aa2d03851752 100644 (file)
@@ -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