diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-08-04 06:17:17 +0200 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2010-08-09 03:21:38 +0200 |
commit | 2ed9aae0facd603f9f9b8347d1d7e9de23bde286 (patch) | |
tree | ddecb718dcbe08e1491dee0df45ef0ec3f488309 /drivers/input/mouse/appletouch.c | |
parent | powerpc: Trim defconfigs (diff) | |
download | linux-2ed9aae0facd603f9f9b8347d1d7e9de23bde286.tar.xz linux-2ed9aae0facd603f9f9b8347d1d7e9de23bde286.zip |
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 'drivers/input/mouse/appletouch.c')
0 files changed, 0 insertions, 0 deletions