Re: [PATCH 10/24] C6X: time management

From: john stultz
Date: Mon Sep 12 2011 - 23:44:25 EST


On Mon, 2011-09-12 at 23:18 -0400, Mark Salter wrote:
> On Mon, 2011-09-12 at 18:16 -0700, john stultz wrote:
> > On Wed, Aug 31, 2011 at 2:26 PM, Mark Salter <msalter@xxxxxxxxxx> wrote:
> > > The C6X architecture includes a 64-bit free running core clock counter which
> > > is used as the clocksource. The SoCs have a number of 64-bit programmable
> > > timers. One of these is used as the clockevent timer.
> > >
> > > Signed-off-by: Mark Salter <msalter@xxxxxxxxxx>
> >
> > Sort of a tangent to this specific patch, but since it came up
> > recently in the x32 discussion, I wanted to check if you were using a
> > 64bit definition of time_t?
>
> C6X uses the asm-generic definition which is a long, so 32-bits.

You might want to seriously consider following the x32 folks and use 64
bits, as 2038 isn't very far away.

thanks
-john


--
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/