Commit 87a4c375 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Masahiro Yamada
Browse files

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: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent 06ec64b8
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -881,6 +881,9 @@ config COMPAT_32BIT_TIME
config ARCH_NO_COHERENT_DMA_MMAP
	bool

config ARCH_NO_PREEMPT
	bool

config CPU_NO_EFFICIENT_FFS
	def_bool n

+1 −0
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@ config ALPHA
	default y
	select ARCH_MIGHT_HAVE_PC_PARPORT
	select ARCH_MIGHT_HAVE_PC_SERIO
	select ARCH_NO_PREEMPT
	select ARCH_USE_CMPXCHG_LOCKREF
	select HAVE_AOUT
	select HAVE_IDE
+0 −2
Original line number Diff line number Diff line
@@ -545,8 +545,6 @@ config ARC_BUILTIN_DTB_NAME
	  Set the name of the DTB to embed in the vmlinux binary
	  Leaving it blank selects the minimal "skeleton" dtb

source "kernel/Kconfig.preempt"

endmenu	 # "ARC Architecture Configuration"

config FORCE_MAX_ZONEORDER
+0 −2
Original line number Diff line number Diff line
@@ -1481,8 +1481,6 @@ config ARCH_NR_GPIO

	  If unsure, leave the default value.

source kernel/Kconfig.preempt

config HZ_FIXED
	int
	default 200 if ARCH_EBSA110
+0 −1
Original line number Diff line number Diff line
@@ -752,7 +752,6 @@ config HOLES_IN_ZONE
	def_bool y
	depends on NUMA

source kernel/Kconfig.preempt
source kernel/Kconfig.hz

config ARCH_SUPPORTS_DEBUG_PAGEALLOC
Loading