From: Benjamin Herrenschmidt Date: Wed, 4 Aug 2010 04:17:17 +0000 (+1000) Subject: memblock: Fix memblock_is_region_reserved() to return a boolean X-Git-Tag: v2.6.37-rc1~183^2~76 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1c2c19c498e27de48bf0dc4221e6e31b1823169;p=pandora-kernel.git memblock: Fix memblock_is_region_reserved() to return a boolean All callers expect a boolean result which is true if the region overlaps a reserved region. However, the implementation actually returns -1 if there is no overlap, and a region index (0 based) if there is. Make it behave as callers (and common sense) expect. Signed-off-by: Benjamin Herrenschmidt --- Reading git-diff-tree failed