On Jan 6, 2009, at 8:42 PM, Michael Ellerman wrote:
On Fri, 2009-01-02 at 15:04 -0600, Milton Miller wrote:
make the idom "always call realloc_memory_ranges when filling a range entry"

@@ -666,6 +674,8 @@ int setup_memory_ranges(unsigned long ke
                memory_range[j].end = exclude_range[i+1].start - 1;
                memory_range[j].type = RANGE_RAM;
                j++;
+               if (i >= max_memory_ranges)
+                       realloc_memory_ranges();

Should this be checking against i or j?


It does look like it should be against j. I'll build test and respin later.

milton

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to