aboutsummaryrefslogtreecommitdiffstats
path: root/arch/cris
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2011-11-24 07:54:28 -0500
committerMichael S. Tsirkin <mst@redhat.com>2011-11-24 15:21:19 -0500
commit4673ca8eb3690832e76371371955a8b02e1f59d4 (patch)
tree2d70b7ec1e33a35b9363c3a3cf986cd583c6f6e0 /arch/cris
parentcaca6a03d365883564885f2c1da3e88dcf65d139 (diff)
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
19config ARCH_USES_GETTIMEOFFSET 19config ARCH_USES_GETTIMEOFFSET
20 def_bool n 20 def_bool n
21 21
22config GENERIC_IOMAP
23 bool
24 default y
25
26config ARCH_HAS_ILOG2_U32 22config ARCH_HAS_ILOG2_U32
27 bool 23 bool
28 default n 24 default n
@@ -52,6 +48,7 @@ config CRIS
52 select HAVE_IDE 48 select HAVE_IDE
53 select HAVE_GENERIC_HARDIRQS 49 select HAVE_GENERIC_HARDIRQS
54 select GENERIC_IRQ_SHOW 50 select GENERIC_IRQ_SHOW
51 select GENERIC_IOMAP
55 52
56config HZ 53config HZ
57 int 54 int