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: [EMAIL PROTECTED] _______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
