Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4673ca8e authored by Michael S. Tsirkin's avatar Michael S. Tsirkin
Browse files

lib: move GENERIC_IOMAP to lib/Kconfig



define GENERIC_IOMAP in a central location
instead of all architectures. This will be helpful
for the follow-up patch which makes it select
other configs. Code is also a bit shorter this way.

Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
parent caca6a03
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -70,10 +70,6 @@ config GENERIC_ISA_DMA
	bool
	default y

config GENERIC_IOMAP
	bool
	default n

source "init/Kconfig"
source "kernel/Kconfig.freezer"

+1 −4
Original line number Diff line number Diff line
@@ -19,10 +19,6 @@ config GENERIC_CMOS_UPDATE
config ARCH_USES_GETTIMEOFFSET
	def_bool n

config GENERIC_IOMAP
       bool
       default y

config ARCH_HAS_ILOG2_U32
	bool
	default n
@@ -52,6 +48,7 @@ config CRIS
	select HAVE_IDE
	select HAVE_GENERIC_HARDIRQS
	select GENERIC_IRQ_SHOW
	select GENERIC_IOMAP

config HZ
	int
+1 −3
Original line number Diff line number Diff line
@@ -26,6 +26,7 @@ config HEXAGON
	select HAVE_ARCH_KGDB
	select HAVE_ARCH_TRACEHOOK
	select NO_IOPORT
	select GENERIC_IOMAP
	# mostly generic routines, with some accelerated ones
	---help---
	  Qualcomm Hexagon is a processor architecture designed for high
@@ -73,9 +74,6 @@ config GENERIC_CSUM
config GENERIC_IRQ_PROBE
	def_bool y

config GENERIC_IOMAP
	def_bool y

#config ZONE_DMA
#	bool
#	default y
+1 −4
Original line number Diff line number Diff line
@@ -29,6 +29,7 @@ config IA64
	select GENERIC_IRQ_SHOW
	select ARCH_WANT_OPTIONAL_GPIOLIB
	select ARCH_HAVE_NMI_SAFE_CMPXCHG
	select GENERIC_IOMAP
	default y
	help
	  The Itanium Processor Family is Intel's 64-bit successor to
@@ -102,10 +103,6 @@ config EFI
	bool
	default y

config GENERIC_IOMAP
	bool
	default y

config ARCH_CLOCKSOURCE_DATA
	def_bool y

+1 −3
Original line number Diff line number Diff line
@@ -38,9 +38,6 @@ config GENERIC_CALIBRATE_DELAY
	bool
	default y

config GENERIC_IOMAP
	def_bool MMU

config TIME_LOW_RES
	bool
	default y
@@ -73,6 +70,7 @@ source "kernel/Kconfig.freezer"
config MMU
	bool "MMU-based Paged Memory Management Support"
	default y
	select GENERIC_IOMAP
	help
	  Select if you want MMU-based virtualised addressing space
	  support by paged memory management. If unsure, say 'Y'.
Loading