]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-sparc/prom.h
edac: i5100: cleanup
[linux-2.6-omap-h63xx.git] / include / asm-sparc / prom.h
index df5dc442248322878f6d6831a56bfef54a3ceade..fd55522481cd9dc0d14a14302446dff9d13017ee 100644 (file)
@@ -77,6 +77,11 @@ extern int of_getintprop_default(struct device_node *np,
                                 const char *name,
                                 int def);
 extern int of_find_in_proplist(const char *list, const char *match, int len);
+#ifdef CONFIG_NUMA
+extern int of_node_to_nid(struct device_node *dp);
+#else
+#define of_node_to_nid(dp)     (-1)
+#endif
 
 extern void prom_build_devicetree(void);