linux-mips
[Top] [All Lists]

Re: The do_fast_gettimeoffset function

To: Carsten Langgaard <carstenl@mips.com>
Subject: Re: The do_fast_gettimeoffset function
From: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Date: Tue, 14 Nov 2000 18:24:13 +0100 (MET)
Cc: linux-mips@oss.sgi.com
In-reply-to: <3A0FEAB6.7117CC3C@mips.com>
Organization: Technical University of Gdansk
Sender: owner-linux-mips@oss.sgi.com
On Mon, 13 Nov 2000, Carsten Langgaard wrote:

> The do_fast_gettimeoffset function below (taken from
> arch/mips/kernel/time.c) can only be used on 64-bit processors.
> I would like to be able to use this on a 32-bit processor. As I'm not
> completely sure what this function does, can someone who does please
> help me out ?

 The function performs a 64-bit division.  You may look at
do_ioasic_gettimeoffset which is almost identical (merging of these two
functions into a single one is actually on my TODO list) but it works for
32-bit processors. 

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +


<Prev in Thread] Current Thread [Next in Thread>