From: Nicholas Mc Guire Date: Mon, 18 May 2015 12:19:14 +0000 (+0200) Subject: time: Allow gcc to fold constants when possible X-Git-Tag: omap-for-v4.2/fixes-rc1^2~169^2~43 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=daa67b4b70568a07fef3cffacb2055891bf42ddb;p=pandora-kernel.git 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 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/1431951554-5563-3-git-send-email-hofrat@osadl.org Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed