mm/memblock.c: memblock_is_memory()/reserved() can be boolean
[deliverable/linux.git] / mm / memblock.c
index 07ff069fef256055f776803c708754db310d74f2..9695398a14c046fc492af0e39b68603b418e8ab8 100644 (file)
@@ -1528,12 +1528,12 @@ static int __init_memblock memblock_search(struct memblock_type *type, phys_addr
        return -1;
 }
 
-int __init memblock_is_reserved(phys_addr_t addr)
+bool __init memblock_is_reserved(phys_addr_t addr)
 {
        return memblock_search(&memblock.reserved, addr) != -1;
 }
 
-int __init_memblock memblock_is_memory(phys_addr_t addr)
+bool __init_memblock memblock_is_memory(phys_addr_t addr)
 {
        return memblock_search(&memblock.memory, addr) != -1;
 }
This page took 0.025748 seconds and 5 git commands to generate.