linux-mips-fnet
[Top] [All Lists]

Re: Bug in timex.h

To: Klaus Naumann <spock@mgnet.de>
Subject: Re: Bug in timex.h
From: Ralf Baechle <ralf@uni-koblenz.de>
Date: Sun, 20 Feb 2000 03:23:20 +0100
Cc: linux-mips@fnet.fr
In-reply-to: <200002191515.QAA07017@sunnyboy.informatik.tu-chemnitz.de>
References: <200002191515.QAA07017@sunnyboy.informatik.tu-chemnitz.de>
On Sat, Feb 19, 2000 at 04:15:37PM +0100, Klaus Naumann wrote:

> while compiling glibc (cross compile) I think I encountered a bug in 
> include/asm-mips/timex.h .
> It uses the define CP0_COUNT and the function read_32bit_cp0_register()
> which are defined in mipsregs.h . But the timex.h does _not_
> include this file. At least my compiler complained about undefined 
> CP0_COUNT. I've appended a patch for the problem (Well, I 
> hope it's fixing the problem in a correct way ;) ).

No.  The function which uses read_32bit_cp0_register() shouldn't be
defined for userland in first hand.

(This is fixed in my copy of glibc which I'll upload once I've gone
through the necessary pain of recompiling my entire system twice.

  Ralf

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