]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - mm/nobootmem.c
mm/hugetlb.c: warn the user when issues arise on boot due to hugepages
[mirror_ubuntu-artful-kernel.git] / mm / nobootmem.c
index 487dad610731b7746d1fd3668e98c6ede3828be7..36454d0f96ee6b91383554c83015a2b47e66f038 100644 (file)
@@ -118,7 +118,7 @@ static unsigned long __init __free_memory_core(phys_addr_t start,
        unsigned long end_pfn = min_t(unsigned long,
                                      PFN_DOWN(end), max_low_pfn);
 
-       if (start_pfn > end_pfn)
+       if (start_pfn >= end_pfn)
                return 0;
 
        __free_pages_memory(start_pfn, end_pfn);