[openib-general] Re: get_lock.h on ia64 support

Michael S. Tsirkin mst at mellanox.co.il
Mon Jan 9 10:34:35 PST 2006


Quoting Grant Grundler <iod00d at hp.com>:
> > Hi!
> > I was trying to build perftests on SLES9 SP1 (RC5).
> 
> Michael,
> Why use SP1? Isn't SP2 the latest version?

Donnu :)
Is this working on SP2?

> > I was getting compilation errors: apparently on this distribution
> > asm/timex.h includes all kind of kernel headers and
> > so is not fit to be used to build userspace apps.
> 
> SLES9 doesn't support openib drivers - I'm not surprised there
> are compilation problems.

Naturally, I've replaced the kernel with 2.6.15.
I haven't run into problems, yet.

>  Suse expects to ship OpenIB support in SLES10.
>  Are you building perf tests to run with mellanox drivers/libs ?

no, with openib.

> Yeah, I've been real comfortable including kernel asm files.
> But it was the most portable way of getting the cycle counts.
> If you feel strongly about it, I don't mind getting rid of
> this dependency.

Yeah. FWIW I still plan to keep

#else
#warning get_cycles not implemented for this architecture: attempt asm/timex.h
#include <asm/timex.h>
#endif


-- 
MST



More information about the general mailing list