[openib-general] Re: Userspace testing results (many kernels, many svn trees)

Michael S. Tsirkin mst at mellanox.co.il
Mon Jan 23 09:44:25 PST 2006


Quoting r. Shirley Ma <xma at us.ibm.com>:
> Subject: Re: [openib-general] Re: Userspace testing results (many kernels,?many svn trees)
> 
> 
> PPC Architecture defines a 64-bit Time Base register (2-32bit regs in 32 
> bit mode). Below link is the documentation. 
> 
> http://www-128.ibm.com/developerworks/eserver/articles/archguide.html 
> Book II: PowerPC Virtual Environment Architecture Page 30 
> 
> 
> Thanks
> Shirley Ma
> IBM Linux Technology Center

So am I right when I say that mftb returns a 32 bit register on
ppc32 and a 64 bit register on ppc64?

If true, it seems that this line
 typedef unsigned long long cycles_t;
should be replaced by
 typedef unsigned long cycles_t;

-- 
MST



More information about the general mailing list