Re: [PATCH] time: Provide full featured jiffies_to_nsecs() function

From: Tony Luck
Date: Wed Apr 09 2014 - 12:53:48 EST


+ if (jl < 4*HZ) {

That was lazy ... should be something like:

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

-Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/