diff options
author | Christoph Hellwig <hch@lst.de> | 2018-07-31 13:39:32 +0200 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-08-02 08:06:54 +0900 |
commit | 87a4c375995ed8eaa721b08825cf73d0b02b3145 (patch) | |
tree | b79c3056b713e8500c5c111a39dba655040a2bdb /lib | |
parent | 06ec64b84c357693e9a5540de8eedfc775dbae12 (diff) | |
download | linux-87a4c375995ed8eaa721b08825cf73d0b02b3145.tar.gz linux-87a4c375995ed8eaa721b08825cf73d0b02b3145.tar.bz2 linux-87a4c375995ed8eaa721b08825cf73d0b02b3145.zip |
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 'lib')
-rw-r--r-- | lib/Kconfig.debug | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 26d3ff7e3cf4..373ce9fecd7e 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -1195,6 +1195,7 @@ config DEBUG_ATOMIC_SLEEP bool "Sleep inside atomic section checking" select PREEMPT_COUNT depends on DEBUG_KERNEL + depends on !ARCH_NO_PREEMPT help If you say Y here, various routines which may sleep will become very noisy if they are called inside atomic sections: when a spinlock is |