mm: replace all open encodings for NUMA_NO_NODE
[linux-2.6-block.git] / arch / sparc / kernel / psycho_common.c
index 81aa91e5c0e6c38e1305948279de6602e98fe961..e90bcb6bad7fc76b24a241eb224aff738c2e0296 100644 (file)
@@ -5,6 +5,7 @@
  */
 #include <linux/kernel.h>
 #include <linux/interrupt.h>
+#include <linux/numa.h>
 
 #include <asm/upa.h>
 
@@ -454,7 +455,7 @@ void psycho_pbm_init_common(struct pci_pbm_info *pbm, struct platform_device *op
        struct device_node *dp = op->dev.of_node;
 
        pbm->name = dp->full_name;
-       pbm->numa_node = -1;
+       pbm->numa_node = NUMA_NO_NODE;
        pbm->chip_type = chip_type;
        pbm->chip_version = of_getintprop_default(dp, "version#", 0);
        pbm->chip_revision = of_getintprop_default(dp, "module-revision#", 0);