diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2019-07-26 23:19:42 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2019-07-31 19:03:35 +0200 |
commit | 48593975aeee548f25e256c515fd1d1e3fb2cc20 (patch) | |
tree | acb82e5e0024c7b6be4df0ac901fe246241bd2f5 /arch/x86/entry/thunk_32.S | |
parent | 92616606368ee01f1163fcfc986116c810cd48ba (diff) | |
download | linux-48593975aeee548f25e256c515fd1d1e3fb2cc20.tar.gz linux-48593975aeee548f25e256c515fd1d1e3fb2cc20.tar.bz2 linux-48593975aeee548f25e256c515fd1d1e3fb2cc20.zip |
x86: 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 entry code, preempt and kprobes conditionals over to
CONFIG_PREEMPTION.
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.608488448@linutronix.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/entry/thunk_32.S')
-rw-r--r-- | arch/x86/entry/thunk_32.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/entry/thunk_32.S b/arch/x86/entry/thunk_32.S index cb3464525b37..2713490611a3 100644 --- a/arch/x86/entry/thunk_32.S +++ b/arch/x86/entry/thunk_32.S @@ -34,7 +34,7 @@ THUNK trace_hardirqs_off_thunk,trace_hardirqs_off_caller,1 #endif -#ifdef CONFIG_PREEMPT +#ifdef CONFIG_PREEMPTION THUNK ___preempt_schedule, preempt_schedule THUNK ___preempt_schedule_notrace, preempt_schedule_notrace EXPORT_SYMBOL(___preempt_schedule) |