x86, NUMA: Fix empty memblk detection in numa_cleanup_meminfo()
[pandora-kernel.git] / arch / x86 / mm / numa_64.c
index e8c00cc..85b52fc 100644 (file)
@@ -306,7 +306,7 @@ int __init numa_cleanup_meminfo(struct numa_meminfo *mi)
                bi->end = min(bi->end, high);
 
                /* and there's no empty block */
-               if (bi->start == bi->end) {
+               if (bi->start >= bi->end) {
                        numa_remove_memblk_from(i--, mi);
                        continue;
                }