VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   55 Tags
author: Masami Hiramatsu <mhiramat@kernel.org> 2017-10-20 08:43:39 +0900 committer: Ingo Molnar <mingo@kernel.org> 2017-10-20 09:45:15 +0200 commit: a30b85df7d599f626973e9cd3056fe755bd778e0 parent: 4f3a871443669c6b4d458a60ac8d8ca5eedc3f97
Commit Summary:
kprobes: Use synchronize_rcu_tasks() for optprobe with CONFIG_PREEMPT=y
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/arch/Kconfig b/arch/Kconfig
index 1aafb4efbb51..f75c8e8a229b 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -90,7 +90,7 @@ config STATIC_KEYS_SELFTEST
 config OPTPROBES
 	def_bool y
 	depends on KPROBES && HAVE_OPTPROBES
-	depends on !PREEMPT
+	select TASKS_RCU if PREEMPT
 
 config KPROBES_ON_FTRACE
 	def_bool y