]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - include/linux/mmzone.h
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
[linux.git] / include / linux / mmzone.h
index ede274957e05b59e61725f85f0c4acff7b482f33..5c76737d836b1edc218bfba700fb26c09e62408a 100644 (file)
@@ -450,7 +450,7 @@ struct zone {
         *
         * present_pages is physical pages existing within the zone, which
         * is calculated as:
-        *      present_pages = spanned_pages - absent_pages(pags in holes);
+        *      present_pages = spanned_pages - absent_pages(pages in holes);
         *
         * managed_pages is present pages managed by the buddy system, which
         * is calculated as (reserved_pages includes pages allocated by the
@@ -527,7 +527,7 @@ static inline int zone_is_oom_locked(const struct zone *zone)
        return test_bit(ZONE_OOM_LOCKED, &zone->flags);
 }
 
-static inline unsigned zone_end_pfn(const struct zone *zone)
+static inline unsigned long zone_end_pfn(const struct zone *zone)
 {
        return zone->zone_start_pfn + zone->spanned_pages;
 }