Quoting r. Shirley Ma <[EMAIL PROTECTED]>:
> 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
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to