Small nit.
diff --git a/arch/sparc/include/asm/topology_64.h b/arch/sparc/include/asm/topology_64.hWe have dropped using "extern" for function prototypes.
index 01d1704..ed3dfdd 100644
--- a/arch/sparc/include/asm/topology_64.h
+++ b/arch/sparc/include/asm/topology_64.h
@@ -31,6 +31,9 @@ static inline int pcibus_to_node(struct pci_bus *pbus)
cpu_all_mask : \
cpumask_of_node(pcibus_to_node(bus)))
+extern int __node_distance(int, int);
+#define node_distance(a, b) __node_distance(a, b)
And had this be written as:
#define node_distance node_distance
int node_distance(int, int);Thanks for the review.
Then there had been no need for the leadign underscores.
But as I said - only nits.
Sam