ARM: 6786/1: enable CONFIG_KTIME_SCALAR
authorRob Herring <rob.herring@calxeda.com>
Fri, 4 Mar 2011 22:51:59 +0000 (23:51 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 9 Mar 2011 00:18:48 +0000 (00:18 +0000)
commitbf9dd36091695f1138a98b6ae85d565e60635545
tree9bdf84901207c037d9d69c566d3a55dd2d5656ec
parent1cf7cf06c92ba46ac0e0654ad8aad4c93ae412db
ARM: 6786/1: 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.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/Kconfig