lkml.org 
[lkml]   [2002]   [Dec]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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 13:31    [W:0.028 / U:0.516 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site