diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2019-07-26 23:19:38 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2019-07-31 19:03:35 +0200 |
commit | 01b1d88b09824bea1a75b0bac04dcf50d9893875 (patch) | |
tree | fb8729501071f78d5c431bb8b93afcc21d6eddde /arch | |
parent | c1a280b68d4e6b6db4a65aa7865c22d8789ddf09 (diff) | |
download | linux-stable-01b1d88b09824bea1a75b0bac04dcf50d9893875.tar.gz linux-stable-01b1d88b09824bea1a75b0bac04dcf50d9893875.tar.bz2 linux-stable-01b1d88b09824bea1a75b0bac04dcf50d9893875.zip |
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')
-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 config OPTPROBES def_bool y depends on KPROBES && HAVE_OPTPROBES - select TASKS_RCU if PREEMPT + select TASKS_RCU if PREEMPTION config KPROBES_ON_FTRACE def_bool y |