From: Mel Gorman Date: Mon, 12 May 2008 21:02:19 +0000 (-0700) Subject: parisc: fix DISCONTIGMEM compile breakage X-Git-Tag: v2.6.26-rc3~91 X-Git-Url: http://ftp.safe.ca/?a=commitdiff_plain;h=4413a0f637df4e59b934909ac388a21cfdd90e69;p=safe%2Fjmp%2Flinux-2.6 parisc: fix DISCONTIGMEM compile breakage PA-RISC to aid debugging prints out the zonelists setup by the system. A bad call to node_zonelist() breaks at compile-time. This patch fixes it. Signed-off-by: Mel Gorman Cc: Christoph Lameter Cc: Lee Schermerhorn Cc: Kyle McMartin Cc: Grant Grundler Cc: James Bottomley Cc: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/parisc/mm/init.c b/arch/parisc/mm/init.c index 1f01284..b0ed709 100644 --- a/arch/parisc/mm/init.c +++ b/arch/parisc/mm/init.c @@ -606,7 +606,7 @@ void show_mem(void) int i, j; for (i = 0; i < npmem_ranges; i++) { - zl = node_zonelist(i); + zl = node_zonelist(i, 0); for (j = 0; j < MAX_NR_ZONES; j++) { struct zoneref *z; struct zone *zone;