[PARISC] Kill zone_to_nid printk warning
authorKyle McMartin <kyle@mcmartin.ca>
Thu, 18 Oct 2007 07:03:53 +0000 (00:03 -0700)
committerKyle McMartin <kyle@shortfin.cabal.ca>
Thu, 18 Oct 2007 07:59:00 +0000 (00:59 -0700)
zone_to_nid returns int, always.

Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
arch/parisc/mm/init.c

index e724b36..aa875fa 100644 (file)
@@ -607,7 +607,7 @@ void show_mem(void)
 
                                printk("Zone list for zone %d on node %d: ", j, i);
                                for (k = 0; zl->zones[k] != NULL; k++) 
-                                       printk("[%ld/%s] ", zone_to_nid(zl->zones[k]), zl->zones[k]->name);
+                                       printk("[%d/%s] ", zone_to_nid(zl->zones[k]), zl->zones[k]->name);
                                printk("\n");
                        }
                }