On Mon, Sep 21, 2009 at 11:35:46AM -0700, Pradeep Satyanarayana wrote:
> 
> 
> [email protected] wrote on 09/21/2009 09:30:45 AM:
> 
> > EWG/OFED the meeting minutes for Sep 21, 2009
> >
> > Meeting summary:
> > ----------------
> > * This was a short meeting on OFED 1.5 status
> > * We wish to have OFED 1.5 RC1 this week
> > * Must for RC1 is to resolve all compilation issues
> >
> >
> > Compilation that must be resolved:
> > 1. PPC64 fails on SLES11 on NFS/RDMA
> 
> Tziporet,
> 
> We created two bugs
> 
> For Sles11 build failure:
> https://bugs.openfabrics.org/show_bug.cgi?id=1746

I have attached a patch which should resolve the above issue.  Please verify,
and I will push it for inclusion.

Thanks,
Jon

> 
> And for Rhel5.4
> 
> https://bugs.openfabrics.org/show_bug.cgi?id=1747
> 
> Both these failures were on ppc64 machines.
> 
> As an aside, do we continue using ewg mailing list for OFED issues.
> Are there any plans to move to a new mailing list similar to "linux-rdma"?
> 
> Thanks!
> 
> Pradeep
> [email protected]
commit 54febd0577eab987d72cb65355c15db799792f78
Author: Jon Mason <[email protected]>
Date:   Mon Sep 21 14:36:24 2009 -0500

    Non-x86 archs will break when compiling NSFRDMA due to _node_to_cpumask_ptr not
    being defined.  This is due to that function only being defined in
    include/asm-x86/topology.h.  This patch removes the reference to that function
    to something more generic which exists on all other archs.
    
    This fixes bug 1746.
    
    Signed-off-by: Jon Mason <[email protected]>

diff --git a/kernel_addons/backport/2.6.27_sles11/include/asm/topology.h b/kernel_addons/backport/2.6.27_sles11/include/asm/topology.h
new file mode 100644
index 0000000..534b259
--- /dev/null
+++ b/kernel_addons/backport/2.6.27_sles11/include/asm/topology.h
@@ -0,0 +1,12 @@
+#ifndef BACKPORT_ASM_TOPOLOGY_H
+#define BACKPORT_ASM_TOPOLOGY_H
+
+#include_next <asm/topology.h>
+
+static inline const struct cpumask *cpumask_of_node(int node)
+{
+		node_to_cpumask_ptr(mask, node);
+		return (struct cpumask *)mask;
+}
+
+#endif /* BACKPORT_ASM_TOPOLOGY_H */
diff --git a/kernel_addons/backport/2.6.27_sles11/include/linux/cpumask.h b/kernel_addons/backport/2.6.27_sles11/include/linux/cpumask.h
index 6f0a0a7..7e1773f 100644
--- a/kernel_addons/backport/2.6.27_sles11/include/linux/cpumask.h
+++ b/kernel_addons/backport/2.6.27_sles11/include/linux/cpumask.h
@@ -2,9 +2,7 @@
 #define BACKPORT_LINUX_CPUMASK_H
 
 #include_next <linux/cpumask.h>
-#include <asm/percpu.h>
 
 #define cpumask_of(cpu)		(get_cpu_mask(cpu))
-#define cpumask_of_node(node) (_node_to_cpumask_ptr(node))
 
 #endif /* BACKPORT_LINUX_CPUMASK_H */
_______________________________________________
ewg mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg

Reply via email to