From: Mel Gorman Date: Mon, 12 May 2008 21:02:19 +0000 (-0700) Subject: parisc: fix DISCONTIGMEM compile breakage X-Git-Tag: upstream/snapshot3+hdmi~25033 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4413a0f637df4e59b934909ac388a21cfdd90e69;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git 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;