lkml.org 
[lkml]   [2015]   [May]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 2/2] time: allow gcc to fold constants when possible
From
Date
On Thu, 2015-05-28 at 19:09 +0200, Nicholas Mc Guire wrote:
> 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.

Hi Nicholas.

Thanks for following through with this.

The subject might be nicer if it referenced usecs_to_jiffies
instead of being a bit generic.

Maybe something like:

time: allow gcc to fold usecs_to_jiffies(constant)



\
 
 \ /
  Last update: 2015-05-28 20:21    [W:0.098 / U:0.624 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site