[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070711163238.GD16703@enneenne.com>
Date: Wed, 11 Jul 2007 18:32:39 +0200
From: Rodolfo Giometti <giometti@...eenne.com>
To: Lennart Sorensen <lsorense@...lub.uwaterloo.ca>
Cc: Stephen Rothwell <sfr@...b.auug.org.au>,
David Woodhouse <dwmw2@...radead.org>,
linux-kernel@...r.kernel.org,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH] LinuxPPS (with new syscalls API) - new version
On Wed, Jul 11, 2007 at 11:22:38AM -0400, Lennart Sorensen wrote:
> On Wed, Jul 11, 2007 at 10:06:34AM +0200, Rodolfo Giometti wrote:
> > My question is: how can I fit a 64 bits number of seconds into
> > timespec structure which, for 32 bits architetures, has a 32 bits bits
> > number of seconds?
>
> I imagine you can't. I have no idea if there are any intensions to
> change the definition of timespec on 32bit architectures, or if the
> thought is that they will all be dead before it becomes a problem. :)
>
> I still think the API you define for PPS should support 64bit seconds,
> even if on some systems you can't take advantage of it.
So on 32 bits systems I simply drop the high part of the second
data... is that right?
Ciao,
Rodolfo
--
GNU/Linux Solutions e-mail: giometti@...eenne.com
Linux Device Driver giometti@...dd.com
Embedded Systems giometti@...ux.it
UNIX programming phone: +39 349 2432127
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists