From: Nicholas Mc Guire Date: Thu, 28 May 2015 17:09:56 +0000 (+0200) Subject: time: Allow gcc to fold usecs_to_jiffies(constant) X-Git-Tag: omap-for-v4.2/fixes-rc1^2~169^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c569a23d65ac2900d9998d3fe04044fe95be6b2f;p=pandora-kernel.git 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 Cc: Masahiro Yamada Cc: Sam Ravnborg Cc: Joe Perches Cc: John Stultz Cc: Andrew Hunter Cc: Paul Turner Cc: Michal Marek Link: http://lkml.kernel.org/r/1432832996-12129-2-git-send-email-hofrat@osadl.org Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed