diff options
author | Nicholas Mc Guire <hofrat@osadl.org> | 2015-05-18 15:19:14 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2015-05-19 16:14:16 +0300 |
commit | daa67b4b70568a07fef3cffacb2055891bf42ddb (patch) | |
tree | 7ee263ce2b8a48c1f7641e1e6f751b1d9f8e430c /net/tipc/bearer.c | |
parent | ca42aaf0c8616cde6161ea4391dff364efeee46a (diff) | |
download | linux-daa67b4b70568a07fef3cffacb2055891bf42ddb.tar.xz |
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 <hofrat@osadl.org>
Cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Joe Perches <joe@perches.com>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Andrew Hunter <ahh@google.com>
Cc: Paul Turner <pjt@google.com>
Cc: Michal Marek <mmarek@suse.cz>
Link: http://lkml.kernel.org/r/1431951554-5563-3-git-send-email-hofrat@osadl.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'net/tipc/bearer.c')
0 files changed, 0 insertions, 0 deletions