summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Schwidefsky2009-07-07 16:37:13 +0200
committerMartin Schwidefsky2009-07-07 16:37:54 +0200
commit07606309ff5a9136e340b9ca87c831650c1ec47a (patch)
tree27e6866d768aebf272dc2ae63d3fc9516f9176b6
parent[S390] add generic atomic64 support for 31 bit (diff)
downloadkernel-qcow2-linux-07606309ff5a9136e340b9ca87c831650c1ec47a.tar.gz
kernel-qcow2-linux-07606309ff5a9136e340b9ca87c831650c1ec47a.tar.xz
kernel-qcow2-linux-07606309ff5a9136e340b9ca87c831650c1ec47a.zip
[S390] define KTIME_SCALAR for 32-bit s390
32-bit s390 has efficient support for 64/32-bit conversions, define KTIME_SCALAR to enable the use of the plain scalar nanosecond based representation of ktime. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
-rw-r--r--arch/s390/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig
index f46a1b50ddee..2ae5d72f47ed 100644
--- a/arch/s390/Kconfig
+++ b/arch/s390/Kconfig
@@ -121,6 +121,9 @@ config 32BIT
bool
default y if !64BIT
+config KTIME_SCALAR
+ def_bool 32BIT
+
config SMP
bool "Symmetric multi-processing support"
---help---