summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorNicholas Mc Guire <hofrat@osadl.org>2015-05-28 19:09:56 +0200
committerThomas Gleixner <tglx@linutronix.de>2015-06-10 11:31:14 +0200
commitc569a23d65ac2900d9998d3fe04044fe95be6b2f (patch)
treeecc4e449ec0918189cc6b78855980636069417f7 /scripts
parentae60d6a0e3a9197d37f8c8c4584a8ecd18518cd6 (diff)
downloadlinux-stable-c569a23d65ac2900d9998d3fe04044fe95be6b2f.tar.gz
linux-stable-c569a23d65ac2900d9998d3fe04044fe95be6b2f.tar.bz2
linux-stable-c569a23d65ac2900d9998d3fe04044fe95be6b2f.zip
time: Allow gcc to fold usecs_to_jiffies(constant)
To allow constant folding in usecs_to_jiffies() conditionally calls the HZ dependent _usecs_to_jiffies() helpers or, when gcc can not figure out constant folding, __usecs_to_jiffies, which is the renamed original usecs_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/1432832996-12129-2-git-send-email-hofrat@osadl.org Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions