mm/mmzone.c: memmap_valid_within() can be boolean
[linux-2.6-block.git] / include / linux / mmzone.h
index 12c98dfc31b14481f3f605834a6d9a138a624ea0..3b6fb71bbeb31bbd8edc9622ca10baafa97012ec 100644 (file)
@@ -1200,13 +1200,13 @@ unsigned long __init node_memmap_size_bytes(int, unsigned long, unsigned long);
  * the zone and PFN linkages are still valid. This is expensive, but walkers
  * of the full memmap are extremely rare.
  */
-int memmap_valid_within(unsigned long pfn,
+bool memmap_valid_within(unsigned long pfn,
                                        struct page *page, struct zone *zone);
 #else
-static inline int memmap_valid_within(unsigned long pfn,
+static inline bool memmap_valid_within(unsigned long pfn,
                                        struct page *page, struct zone *zone)
 {
-       return 1;
+       return true;
 }
 #endif /* CONFIG_ARCH_HAS_HOLES_MEMORYMODEL */