lkml.org 
[lkml]   [2004]   [Jan]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] fix get_jiffies_64 to work on voyager
On Tue, 6 Jan 2004, Andrew Morton wrote:

> Tim Schmielau <tim@physik3.uni-rostock.de> wrote:
> >
> > #if (BITS_PER_LONG < 64)
> > @@ -21,7 +21,7 @@
> > #else
> > static inline u64 get_jiffies_64(void)
> > {
> > - return (u64)jiffies;
> > + return jiffies_64;
> > }
> > #endif
>
> hm, why this change? Are you sure that all 64-bit architectures alias
> jiffies onto jiffies_64? x86_64 seems not to.
>

It was jiffies_64 in the first place (that's why the function is called
get_jiffies_64(), after all).
I once made it jiffies because jiffies was volatile while jiffies_64 was
not. Now that jiffies_64 becomes volatile as well, I thought we could
re-straighten things.

But we can leave out this chunk, it really shouldn't make any difference.

Tim
-
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:59    [W:0.061 / U:0.504 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site