aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/qcom-timer.c
diff options
context:
space:
mode:
authorNicholas Mc Guire <[email protected]>2015-05-18 12:19:14 +0000
committerThomas Gleixner <[email protected]>2015-05-19 13:14:16 +0000
commitdaa67b4b70568a07fef3cffacb2055891bf42ddb (patch)
tree7ee263ce2b8a48c1f7641e1e6f751b1d9f8e430c /drivers/clocksource/qcom-timer.c
parenttime: Refactor msecs_to_jiffies (diff)
downloadkernel-daa67b4b70568a07fef3cffacb2055891bf42ddb.tar.gz
kernel-daa67b4b70568a07fef3cffacb2055891bf42ddb.zip
time: Allow gcc to fold constants when possible
To allow constant folding in msecs_to_jiffies() conditionally calls the HZ dependent _msecs_to_jiffies() helpers or, when gcc can not figure out constant folding, __msecs_to_jiffies which is the renamed original msecs_to_jiffies() function. Signed-off-by: Nicholas Mc Guire <[email protected]> Cc: Masahiro Yamada <[email protected]> Cc: Sam Ravnborg <[email protected]> Cc: Joe Perches <[email protected]> Cc: John Stultz <[email protected]> Cc: Andrew Hunter <[email protected]> Cc: Paul Turner <[email protected]> Cc: Michal Marek <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'drivers/clocksource/qcom-timer.c')
0 files changed, 0 insertions, 0 deletions