diff options
author | Christoph Hellwig <hch@lst.de> | 2018-07-31 07:39:32 -0400 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-08-01 19:06:54 -0400 |
commit | 87a4c375995ed8eaa721b08825cf73d0b02b3145 (patch) | |
tree | b79c3056b713e8500c5c111a39dba655040a2bdb /kernel/Kconfig.preempt | |
parent | 06ec64b84c357693e9a5540de8eedfc775dbae12 (diff) |
kconfig: include kernel/Kconfig.preempt from init/Kconfig
Almost all architectures include it. Add a ARCH_NO_PREEMPT symbol to
disable preempt support for alpha, hexagon, non-coldfire m68k and
user mode Linux.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'kernel/Kconfig.preempt')
-rw-r--r-- | kernel/Kconfig.preempt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/Kconfig.preempt b/kernel/Kconfig.preempt index 3f9c97419f02..cd1655122ec0 100644 --- a/kernel/Kconfig.preempt +++ b/kernel/Kconfig.preempt | |||
@@ -18,6 +18,7 @@ config PREEMPT_NONE | |||
18 | 18 | ||
19 | config PREEMPT_VOLUNTARY | 19 | config PREEMPT_VOLUNTARY |
20 | bool "Voluntary Kernel Preemption (Desktop)" | 20 | bool "Voluntary Kernel Preemption (Desktop)" |
21 | depends on !ARCH_NO_PREEMPT | ||
21 | help | 22 | help |
22 | This option reduces the latency of the kernel by adding more | 23 | This option reduces the latency of the kernel by adding more |
23 | "explicit preemption points" to the kernel code. These new | 24 | "explicit preemption points" to the kernel code. These new |
@@ -35,6 +36,7 @@ config PREEMPT_VOLUNTARY | |||
35 | 36 | ||
36 | config PREEMPT | 37 | config PREEMPT |
37 | bool "Preemptible Kernel (Low-Latency Desktop)" | 38 | bool "Preemptible Kernel (Low-Latency Desktop)" |
39 | depends on !ARCH_NO_PREEMPT | ||
38 | select PREEMPT_COUNT | 40 | select PREEMPT_COUNT |
39 | select UNINLINE_SPIN_UNLOCK if !ARCH_INLINE_SPIN_UNLOCK | 41 | select UNINLINE_SPIN_UNLOCK if !ARCH_INLINE_SPIN_UNLOCK |
40 | help | 42 | help |