diff options
author | Tang Chen <tangchen@cn.fujitsu.com> | 2015-09-08 15:02:00 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-09-08 15:35:28 -0700 |
commit | c5c5c9d1008fb15945d0173b3ca75931ef53ae1f (patch) | |
tree | 9d4a6667ae919d16e4d27300b62d71b2a5ecbd77 /mm/bootmem.c | |
parent | 72079ba0dfefc1444b4ef98a2fa3d040838a775f (diff) | |
download | linux-c5c5c9d1008fb15945d0173b3ca75931ef53ae1f.tar.gz linux-c5c5c9d1008fb15945d0173b3ca75931ef53ae1f.tar.bz2 linux-c5c5c9d1008fb15945d0173b3ca75931ef53ae1f.zip |
mm/memblock.c: make memblock_overlaps_region() return bool.
memblock_overlaps_region() checks if the given memblock region
intersects a region in memblock. If so, it returns the index of the
intersected region.
But its only caller is memblock_is_region_reserved(), and it returns 0
if false, non-zero if true.
Both of these should return bool.
Signed-off-by: Tang Chen <tangchen@cn.fujitsu.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Tejun Heo <tj@kernel.org>
Cc: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
Cc: Luiz Capitulino <lcapitulino@redhat.com>
Cc: Xishi Qiu <qiuxishi@huawei.com>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Vladimir Murzin <vladimir.murzin@arm.com>
Cc: Fabian Frederick <fabf@skynet.be>
Cc: Alexander Kuleshov <kuleshovmail@gmail.com>
Cc: Baoquan He <bhe@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/bootmem.c')
0 files changed, 0 insertions, 0 deletions