]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - mm/mmzone.c
Merge branch 'drm-rockchip-next-fixes-2016-01-22' of https://github.com/markyzq/kerne...
[karo-tx-linux.git] / mm / mmzone.c
index 7d87ebb0d63249ead3ff2f3e2f0b096b590cafaf..52687fb4de6f46ebcb095987b9474e3957b5eafd 100644 (file)
@@ -72,16 +72,16 @@ struct zoneref *next_zones_zonelist(struct zoneref *z,
 }
 
 #ifdef CONFIG_ARCH_HAS_HOLES_MEMORYMODEL
-int memmap_valid_within(unsigned long pfn,
+bool memmap_valid_within(unsigned long pfn,
                                        struct page *page, struct zone *zone)
 {
        if (page_to_pfn(page) != pfn)
-               return 0;
+               return false;
 
        if (page_zone(page) != zone)
-               return 0;
+               return false;
 
-       return 1;
+       return true;
 }
 #endif /* CONFIG_ARCH_HAS_HOLES_MEMORYMODEL */