diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2019-07-26 17:19:38 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2019-07-31 13:03:35 -0400 |
commit | 01b1d88b09824bea1a75b0bac04dcf50d9893875 (patch) | |
tree | fb8729501071f78d5c431bb8b93afcc21d6eddde /arch/Kconfig | |
parent | c1a280b68d4e6b6db4a65aa7865c22d8789ddf09 (diff) |
rcu: Use CONFIG_PREEMPTION
CONFIG_PREEMPTION is selected by CONFIG_PREEMPT and by
CONFIG_PREEMPT_RT. Both PREEMPT and PREEMPT_RT require the same
functionality which today depends on CONFIG_PREEMPT.
Switch the conditionals in RCU to use CONFIG_PREEMPTION.
That's the first step towards RCU on RT. The further tweaks are work in
progress. This neither touches the selftest bits which need a closer look
by Paul.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Paul E. McKenney <paulmck@linux.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Link: http://lkml.kernel.org/r/20190726212124.210156346@linutronix.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/Kconfig')
-rw-r--r-- | arch/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/Kconfig b/arch/Kconfig index a7b57dd42c26..c7efbc018f4f 100644 --- a/arch/Kconfig +++ b/arch/Kconfig | |||
@@ -103,7 +103,7 @@ config STATIC_KEYS_SELFTEST | |||
103 | config OPTPROBES | 103 | config OPTPROBES |
104 | def_bool y | 104 | def_bool y |
105 | depends on KPROBES && HAVE_OPTPROBES | 105 | depends on KPROBES && HAVE_OPTPROBES |
106 | select TASKS_RCU if PREEMPT | 106 | select TASKS_RCU if PREEMPTION |
107 | 107 | ||
108 | config KPROBES_ON_FTRACE | 108 | config KPROBES_ON_FTRACE |
109 | def_bool y | 109 | def_bool y |