summaryrefslogtreecommitdiffstats
path: root/arch/cris/Kconfig
diff options
context:
space:
mode:
authorjohn stultz <johnstul@us.ibm.com>2010-03-05 22:42:31 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2010-03-06 20:26:28 +0100
commitba875ba6b7cd28c5f15680ed694276510aa69970 (patch)
tree6811a8cb2750070fdb5aaa55ec6a117c4d9cf53c /arch/cris/Kconfig
parentcpuidle menu: remove 8 bytes of padding on 64 bit builds (diff)
downloadlinux-ba875ba6b7cd28c5f15680ed694276510aa69970.tar.xz
linux-ba875ba6b7cd28c5f15680ed694276510aa69970.zip
cris: convert to use arch_gettimeoffset()
Convert cris to use GENERIC_TIME via the arch_getoffset() infrastructure, reducing the amount of arch specific code we need to maintain. Signed-off-by: John Stultz <johnstul@us.ibm.com> Cc: Mikael Starvik <starvik@axis.com> Cc: Jesper Nilsson <jesper.nilsson@axis.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/cris/Kconfig')
-rw-r--r--arch/cris/Kconfig6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/cris/Kconfig b/arch/cris/Kconfig
index 7adac388a771..059eac6abda1 100644
--- a/arch/cris/Kconfig
+++ b/arch/cris/Kconfig
@@ -20,6 +20,12 @@ config RWSEM_GENERIC_SPINLOCK
config RWSEM_XCHGADD_ALGORITHM
bool
+config GENERIC_TIME
+ def_bool y
+
+config ARCH_USES_GETTIMEOFFSET
+ def_bool y
+
config GENERIC_IOMAP
bool
default y