linux-mips
[Top] [All Lists]

asm/timex.h include mipsregs.h ?

To: linux@cthulhu.engr.sgi.com, linux-mips@fnet.fr, linux-mips@vger.rutgers.edu
Subject: asm/timex.h include mipsregs.h ?
From: Florian Lohoff <flo@rfc822.org>
Date: Thu, 28 Oct 1999 10:59:13 +0200
Organization: rfc822 - pure communication
Sender: owner-linuxmips@oss.sgi.com
Hi,
i am just in the process of building glibc and discovered a bug i stumpled
over before ...

static inline cycles_t get_cycles (void)
{
        return read_32bit_cp0_register(CP0_COUNT);
}

CP0_COUNT undefined ...

Shouldnt timex.h include mipsregs.h ?

And is this possibly fixed in later Kernels (this is 2.2.1) 

Flo
-- 
Florian Lohoff          flo@rfc822.org                  +49-5241-470566
  ...  The failure can be random; however, when it does occur, it is
  catastrophic and is repeatable  ...             Cisco Field Notice


<Prev in Thread] Current Thread [Next in Thread>
  • asm/timex.h include mipsregs.h ?, Florian Lohoff <=