lkml.org 
[lkml]   [2014]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] time: Provide full featured jiffies_to_nsecs() function
From
+       if (jl < 4*HZ) {

That was lazy ... should be something like:

+ if (jl < (u64)UINT_MAX * HZ / NSEC_PER_SEC)

-Tony


\
 
 \ /
  Last update: 2014-04-09 19:21    [W:0.086 / U:0.776 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site