]> git.baikalelectronics.ru Git - kernel.git/commit
mm/memblock: memblock_is_map/region_memory can be boolean
authorYaowei Bai <baiyaowei@cmss.chinamobile.com>
Tue, 6 Feb 2018 23:41:18 +0000 (15:41 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 7 Feb 2018 02:32:47 +0000 (18:32 -0800)
commit7376211bb2480d2bccc87c403a7f48fbb10164b6
tree772a7d9968eaec912f9d593203e8ed999b62dbbc
parent8462c44a88076080645f1c5d741bc802004e88c0
mm/memblock: memblock_is_map/region_memory can be boolean

Make memblock_is_map/region_memory return bool due to these two
functions only using either true or false as its return value.

No functional change.

Link: http://lkml.kernel.org/r/1513266622-15860-2-git-send-email-baiyaowei@cmss.chinamobile.com
Signed-off-by: Yaowei Bai <baiyaowei@cmss.chinamobile.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/memblock.h
mm/memblock.c