lkml.org 
[lkml]   [2002]   [Dec]   [23]   [last100]   RSS Feed
Views: [more markup]   [less markup]   [headers]   [forward]  
 
Messages in this thread
/
DateSun, 22 Dec 2002 21:14:07 -0800 (PST)
FromLinus Torvalds <>
SubjectRe: [RESEND][PATCH] better compat_jiffies_to_clock_t

On Mon, 23 Dec 2002, Stephen Rothwell wrote:
>
> At David Mosberger's suggestion can we use this new version of
> compat_jiffies_to_clock_t?  It does better rounding and will not fail
> if COMPAT_USER_HZ > HZ.

I don't like using "long long" and divisions.

Since this code is currently only used for 64-bit targets, is there any
reason to use "long long" at all, and not just use "long"? I can see a
64-bit target where "long long" would be 128 bits, and this would do the
wrong thing.

		Linus

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

\
 
 \ /
  Last update: 2005-03-22 11:31    [W:0.144 / U:0.500 seconds]
©2003-2008 Jasper Spaans