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

Roland Dreier rdreier at cisco.com
Mon Jan 23 11:04:12 PST 2006


    Shirley> I read the documentation again, I think I was wrong. It
    Shirley> returns 64 bit always.

I don't think that's correct.  How could mftb return a 64-bit value on
a CPU with 32-bit registers?

The best thing to look at is the definition of get_tb() in
<asm-powerpc/time.h> in the kernel tree.  I think that should give
something that always works.

 - R.



More information about the general mailing list