summaryrefslogtreecommitdiff
path: root/arch/microblaze/mm
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2010-08-04 08:17:17 +0400
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2010-08-04 08:17:17 +0400
commitf1c2c19c498e27de48bf0dc4221e6e31b1823169 (patch)
tree61c1b8b9ab32cd76128e33186148597a8b8b39b1 /arch/microblaze/mm
parent3a09b1be53d23df780a0cd0e4087a05e2ca4a00c (diff)
downloadlinux-f1c2c19c498e27de48bf0dc4221e6e31b1823169.tar.xz
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 <benh@kernel.crashing.org>
Diffstat (limited to 'arch/microblaze/mm')
0 files changed, 0 insertions, 0 deletions