linux-mips
[Top] [All Lists]

Re: Big endian problem

To: Dan Aizenstros <dan@quicklogic.com>
Subject: Re: Big endian problem
From: Jun Sun <jsun@mvista.com>
Date: Fri, 12 Oct 2001 17:35:52 -0700
Cc: Hanks Li <hli@quicklogic.com>, linux-mips@oss.sgi.com
In-reply-to: <3BC74EFE.9020109@quicklogic.com>; from dan@quicklogic.com on Fri, Oct 12, 2001 at 04:13:50PM -0400
References: <APEOLACBIPNAFKJDDFIIIEBLCBAA.hli@quicklogic.com> <3BC72CCC.3604FEC8@mvista.com> <3BC74EFE.9020109@quicklogic.com>
Sender: owner-linux-mips@oss.sgi.com
User-agent: Mutt/1.2.5i
On Fri, Oct 12, 2001 at 04:13:50PM -0400, Dan Aizenstros wrote:
> Hello Jun,
> 
> The file is the common time.c from linux/arch/mips/kernel as you
> can see from the third to last line of Hanshi's email.  The tools
> he is using are from H. J. Lu's RedHat 7.1 RPMs on the oss.sgi.com
> ftp site.  The file compiles just fine with the little endian version
> of the same tools from the same place.
> 
> Hanshi and I will look at the USECS_PER_JIFFY_FRAC macro.  Thanks for
> the pointer.
> 
> -- Dan A.
>

It is indeed a strange problem as it only shows up in BE tools.  
Some tool gurus want to look into it?

Meanwhile the following patch seems to fix it (and a couple of other
time.c files)

Jun 

Attachment: time_JIFFY_FRAC.patch
Description: Text document

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