[openib-general] [Bug 146] OFED-1.0 DAPL fails to build on SLES10 on IA64 with IA64_FETCHADD error
John Partridge
johnip at sgi.com
Thu Jul 6 16:00:36 PDT 2006
James,
I have had the opportunity to look into the CONFIG_NR_CPUS compile error
and I think the issue is that in dapl_osd.h (line 83) asm/system.h has
been included (I can't see a reason why) this in turn includes
asm/percpu.h which in turn includes linux/threads.h which does :-
#ifdef CONFIG_SMP
#define NR_CPUS CONFIG_NR_CPUS
#else
and of course CONFIG_NR_CPUS is defined in the kernel include file
include/linux/autoconf.h
I have tried compiling without asm/system.h included in dapl_osd.h
but I com up against the IA64_FETCHADD’ undeclared error.
Do you know why asm/system.h is included in dapl_osd.h ?
Thanks
John
--
John Partridge
Silicon Graphics Inc
Tel: 651-683-3428
Vnet: 233-3428
E-Mail: johnip at sgi.com
More information about the general
mailing list