Re: [PATCH] fix get_jiffies_64 to work on voyager

From: Tim Schmielau
Date: Tue Jan 06 2004 - 12:39:00 EST


On Tue, 6 Jan 2004, Andrew Morton wrote:

> Tim Schmielau <tim@xxxxxxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/