summary refs log tree commit diff
path: root/arch/cris
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2011-11-24 14:54:28 +0200
committerMichael S. Tsirkin <mst@redhat.com>2011-11-24 22:21:19 +0200
commit4673ca8eb3690832e76371371955a8b02e1f59d4 (patch)
tree2d70b7ec1e33a35b9363c3a3cf986cd583c6f6e0 /arch/cris
parentcaca6a03d365883564885f2c1da3e88dcf65d139 (diff)
downloadlinux-4673ca8eb3690832e76371371955a8b02e1f59d4.tar.gz
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: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'arch/cris')
-rw-r--r--arch/cris/Kconfig5
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/cris/Kconfig b/arch/cris/Kconfig
index 408b055c585f..b3abfb08aa5c 100644
--- a/arch/cris/Kconfig
+++ b/arch/cris/Kconfig
@@ -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