diff options
author | Philippe Langlais <philippe.langlais@linaro.org> | 2011-05-10 09:33:09 +0200 |
---|---|---|
committer | Philippe Langlais <philippe.langlais@stericsson.com> | 2012-05-22 10:59:46 +0200 |
commit | 17b3fbe4bbc9f46ab3b56fb9270c7c7d2d407fe3 (patch) | |
tree | 61da6aef57aac5b6ab43d83c928896e39d92a0f8 | |
parent | c99923699409b9b2540f06b723d5d4e65681a1c5 (diff) |
ARM: enable CONFIG_KTIME_SCALAR
Use straight 64-bit values as 64-bit operations are fairly efficient on ARM.
Comparing the asm output with and without KTIME_SCALAR, using 64-bit math
generates clearly better code.
Comparing kernel/hrtimer.c .text size, it goes from 0x1414 to 0x119c with
this change.
ST-Ericsson ID: 329353
Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>
Change-Id: Ic9d31ff64d7c60354f85055e3a74efd84d447e7f
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/21192
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
-rw-r--r-- | arch/arm/Kconfig | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index d83b199fd54..9324e33e531 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -73,6 +73,10 @@ config KTIME_SCALAR bool default y +config KTIME_SCALAR + bool + default y + config HAVE_TCM bool select GENERIC_ALLOCATOR |